Hi guys,
I need a script to do the following procedure,
1) Check to see if /var/temp/ contain *.bin file
2) If no, abort this script. Else continue...to step 3
3) Start FTP to www.temp.com
4) If FTP fail, abort this script. Else continue to step 5
5) Transfer all the /var/temp/*.bin to remote server
6) Close connection
7) move all /var/temp/*.bin to /var/temp/backup
8) end
kmthien
I need a script to do the following procedure,
1) Check to see if /var/temp/ contain *.bin file
2) If no, abort this script. Else continue...to step 3
3) Start FTP to www.temp.com
4) If FTP fail, abort this script. Else continue to step 5
5) Transfer all the /var/temp/*.bin to remote server
6) Close connection
7) move all /var/temp/*.bin to /var/temp/backup
8) end
kmthien