I want to download via ftp every files from a directory and I want to
schedule this (cron)

I wrote the next script but I know that it won't work properly because the
ftp command breaks the process and I'm sure I made another mistake.
Can somebody help me?

#!/bin/ksh 
. .profile 
cd /mediapark/meteo 
ftp IP_adress 
user login password 
mget * 
quit 
rcp * mpdev:/mediapark/meteo 
sqlplus login/pwd @meteo.sql 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to