Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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
Node Status?
node history
Node Type: note [id://256370]
help
Chatterbox?
LanX you always reminded me of Sean Connery. ..
shmem .oO( someday I'll do something... and then I'll make it big. Now is the time! )
[LanX]: don't forget to flush the water
[shmem]: the day will come when LanX hits the fan
[Discipulus]: did you remember to commit?

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2018-04-24 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?