Hi,
Howto download a file via ftp (anonymous) by using crontab ?
I try in my cron file:
0 2 25 12 * /home/users/quy/mydownload
With my script "mydownload".
I don't know howto connect to ftp server by "anonymous"
automatically ?
In the interactive mode, I have to do :
#ftp ftp.xxxx.com
.... anonymous
.... myaddress..
.... cd ....
.... get file
..... bye for exit
Howto put all in a file and execute automatically ?
_______________________________________________________
Nguyen-Dai Quy
LTAS - Mcanique de la Rupture, ULG.
Rue Ernest Solvay 21, Bat C3, B 4000, Lige, Belgique
Tl:+32-4-366.92.41 Fax:+32-4-366.93.11
http://isis.ltas.ulg.ac.be/dang/who/quy.html
_______________________________________________________