Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by Anonymous Monk
on Jan 15, 2002 at 21:12 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found