The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: FTP problems
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 04-22-2009
reddybs reddybs is offline
Registered User
  
 

Join Date: Jan 2009
Location: Sriharikota-AP-India
Posts: 53
Quote:
Originally Posted by dennis.jacob View Post
One suggestion is to use two ftp sessions

- first one is used to just get the "ls" on the remote machine & check the existance of filename in the list and display if it not exists.
- second session will be executed only if the list generated in the first list contain the filename. then do the "get" of teh required files.

Many thanks for the reply. I will give it a try.