http://qs321.pair.com?node_id=256370


in reply to Cygwin perl... ftp... Windows line endings...

You need to tranfer the files as ASCII type. To do this, you can use either the type() method, or, since you want ASCII, you can use the ascii() method in Net::FTP. (ASCII transfer will convert the end of line characters for you.)

perldoc Net::FTP will give you more information.

  • Comment on Re: Cygwin perl... ftp... Windows line endings...