• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

FTP Script in Linux !

larva

Member
Hi guys,

I need a script to do the following process in Redhat Linux 7.3 :

1) Check to see if /var/temp/ contain *.bin files
2) if no, abort the script. Else, goto step 3
3) Start ftp to www.abc.com server.
4) if unable to connect to www.abc.com server, abort the script. Else, proceed to step 5
5) ftp each .bin files in /var/temp to www.abc.com server then move it the /var/temp/backup/ directory one by one
6) close connection

Pls help, thanks !
 
Originally posted by: larva
Hi guys,

I need a script to do the following process in Redhat Linux 7.3 :

1) Check to see if /var/temp/ contain *.bin files
2) if no, abort the script. Else, goto step 3
3) Start ftp to www.abc.com server.
4) if unable to connect to www.abc.com server, abort the script. Else, proceed to step 5
5) ftp each .bin files in /var/temp to www.abc.com server then move it the /var/temp/backup/ directory one by one
6) close connection

Pls help, thanks !

This must be a homework assignment
rolleye.gif
 
haha.. it must be. That was the exact same question the other guy ask.


actually, i think it may be the same person. just different account.
 
Back
Top