Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Using Net::FTP to download log files...

by Anonymous Monk
on Jan 15, 2002 at 21:12 UTC ( #138954=note: print w/ replies, xml ) Need Help??


in reply to Using Net::FTP to download log files...

We can use the system ftp command as follows:

system "ftp -invs:sample.par";
where 'sample.par' is an ftp script file containing:
o hostname user login password cd destination_home_dir_name lcd local_directory_name binary or Ascii ....required ftp commands like get,put etc...... bye
the parameters are:
i = prompt off i.e. non-interactive s = silent i.e. suppress the output


Comment on Re: Using Net::FTP to download log files...
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2014-08-20 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (120 votes), past polls