buggy ftp upload script
As I understand it, the following scripts should work automatically without human intervention when I enter "./tarnobla.sh". However I am prompted to enter the password and then the second script seems to stumble on the password and sees it as an "invalid command".
----- this is file tarnobla.sh:
tar cvpzf bunobla /home/nobla/*
ftp < /home/nobla/Desktop/ftpnobla
----- this is file ftpnobla:
The site is password protected and used only as a backup. After I enter the password, the script works properly.
Can anyone point me to the mistake?
Thank you for your help.
Last edited by rblampain; 05-17-2007 at 05:01 AM.