Hello,
I need every hour to download a file (in ascci mode) from a ftp server and I'm wondering How can i do this with perl? Any example script ?
Greetings,
Chema
Hello,
I need every hour to download a file (in ascci mode) from a ftp server and I'm wondering How can i do this with perl? Any example script ?
Greetings,
Chema
What I would do is follows:
First make a cron job to run a perl script once an hour (if the host of the machine your running this on allows it)
Then write a perl script that uses the Net::FTP module..you can find documentation for this module below:
http://www.perldoc.com/perl5.6/lib/Net/FTP.html
Then do whatever you need to do with the file and that should do it!
Hope this helps!