Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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?
[marinersk]: Corion This DBA wants to smack others who like putting whitespace in column names.
[marinersk]: s/smack/whap/;
[talexb]: Wow, what hilariously bad form.
[SuicideJunkie]: Just wait; someday soon, you'll be given a DB with unicode emojis in the column names.
[Corion]: marinersk: Well, I have done select statements like select sum(foo) as "Total Amount", ..., but to have a table like that makes me shudder
[Corion]: SuicideJunkie: :-D
[marinersk]: SuicideJunkie LOL
[choroba]: Woohoo! Fixed a test that hasn't run for 3 years.
[marinersk]: Corion Yes, sometimes whitespace in column headers is acceptable, but I still consider it be less than desireable if that query might get revectored for an ETL-esque process...
[marinersk]: choroba++

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2017-05-25 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?