| I have seen "retry" problems in v3.0.something (I think it was 3.0.1 or 3.0.2) then it was fixed in a later version. Please consider upgrading to the most recent version 3.1.1. I guess new v3.1.2 will be available tomorrow. Check it out.  In a mean time, there is a simple workaround for this particular case: In the job script you use FTPFileExists to check for a file before downloading and then use Wait to wait for a little while if it is not.
 Example: Dim found, boolean
 FTPFileExists *myserver*, *user*, *pass*, *file*, found
 IfThen found, GET_IT
 // wait 30 seconds Wait 30
 FTPFileExists *myserver*, *user*, *pass*, *file*, found
 IfThen found, GET_IT
 // wait another 30 seconds Wait 30
 FTPFileExists *myserver*, *user*, *pass*, *file*, found
 IfThen found, GET_IT
 // file not found, send email to ... SendMail .... "Error ...."
 Exit
 GET_IT: FTPFileGet *myserver*, *user*, *pass*, *file*, *local_file*
 : We are trying to schedule a daily FTP download. The job works fine if the : file exists, but we are trying to prepare for the scenario where it might
 : not yet be posted to the remote server. Most importantly, we are looking
 : to have the job retry for a specific amount of time, then fail if the file
 : can not be located.
 : When attempting to FTPGet a non-existant file, the job returns the : appropriate "file not found" error and schedules a retry
 : (1-of-3). After the allotted 5 minute waiting period, it again fails (as
 : it is supposed to on this test), and it once again schedules a retry
 : (1-of-3). Obviously, the retry/fail counter never increases, so the job
 : never stops retrying (unless it is able to find the file).
 : Has anyone else had this problem? And if so, what is the remedy?  : Thanks! 
 
 |