Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Beginners guide to Net::FTP

by RMGir (Prior)
on Aug 14, 2002 at 12:29 UTC ( #190045=note: print w/ replies, xml ) Need Help??

in reply to Beginners guide to Net::FTP

Nice guide, ++.

But don't forget binary!

The version you wrote will work fine if you're running from a Unix client box to a Unix server.

But if the client side is a Win32, Mac, or VMS box (and maybe if the server side is) you want to make sure you call

before you do any other operations. From the perldoc
The protocol also defines several standard translations which the file can undergo during transfer. These are ASCII, EBCDIC, binary, and byte. ASCII is the default type, and indicates that the sender of files will trans- late the ends of lines to a standard representation which the receiver will then translate back into their local representation.


Comment on Re: Beginners guide to Net::FTP
Select or Download Code
Replies are listed 'Best First'.
Re^2: Beginners guide to Net::FTP
by Anonymous Monk on Apr 14, 2009 at 02:03 UTC
    Is it possible to execute 'ls -la' via Net::FTP. I'm using the module but the server creates files that begin with a '.' and I need to see those.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2015-11-26 01:39 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (695 votes), past polls