View Single Post
  #2 (permalink)  
Old March 4th, 2009, 11:15 PM
vuorela vuorela is offline
Registered User
 
Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Smile After several hours of reading about ftp.......

A friend of mine ran into the same problem and figured it out. It turns out this had a really simple solution.

The line endings in FTP must be "\r\n" like in windows, even though I am programming on a Linux box and communicating to another Linux box.

The really annoying part is that only the PORT command seems to care what the line endings are.

Well I hope this little bit of information can help someone else in the future.

Last edited by vuorela; March 4th, 2009 at 11:18 PM..
Reply With Quote