Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: ftp files from Unix m/c

by rah (Monk)
on Jul 24, 2002 at 02:15 UTC ( [id://184666]=note: print w/replies, xml ) Need Help??


in reply to ftp files from Unix m/c

As other monks have pointed out, the commands supported by the ftp server daemon are the determining factor. You'll need to test based on individual cases. It is not possible to build a completely portable solution if you go beyond the most basic ftp commands.

You might try using ftp->size(). On servers that support this command, it will return a size in bytes for the file listed (and a 2NN status code), or return an error code (550 Not a plain file). This works on my UNIX/Linux servers.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-19 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found