try to set passive mode

daociyiyou wrote:
> hi Tom
> My ftp directory setting is right.ftp api need port to be specified? I
> got another error
> 
> ###
> Net::FTPPermError (500 Illegal PORT command. ):
> ###
> 
> My codes is
> 
> ###
>   Net::FTP.open('showreelfinder.com') do |ftp|
>     ftp.login('heywatch','JRnu4bNtXk')
>     ftp.chdir('thumbnail')
>     ftp.putbinaryfile('public/images/rails.png',encoded_video.title)
> ###
> 
> I have tried my best.My server forbids ftp access or my computer
> occupied the 21 port?
> Ftp really make me like a idiot.
> 
>  
> ===============================================================================
> 

-- 
===============================================================================
Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache
  - experienced RoR/PHP freelancer, available for hire

   www.meinlschmidt.com  www.maxwellrender.cz  www.lightgems.cz
===============================================================================

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to