|
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.
|