shell script to check ftp communication
Hi,
I need the script which suppose to check the ftp communication. script has to execute 3 times daily and script suppose to login to ftp server using username with password. If ftp works also it has to send the mail and even if it is fail also it suppose to send the mail. I have wrote the below script, while executing this script it is asking the password manually. But the password is not taking which we mention in the script. Please suggest the same or write the script and let me. It would be great help for me.
Thanks
Yuva
ftp script:-
ftp<<**
open 192.1.1.1
anonymous
ls
**
Last edited by yuva_mca; 12-01-2005 at 03:24 AM.
|