Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Cygwin perl... ftp... Windows line endings...

by Rhose (Priest)
on May 07, 2003 at 20:09 UTC ( #256370=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://256370]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2023-03-27 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?