| Subject | Is it possible to have a retry setting for ftp? |
| Version | 6.x |
| Date | 07/22/2007 |
| Message | Hi, Is it possible to have a retry setting for ftp ? I ftp a file to our business partner every night. Sometimes I get the error 'connection reset by peer' and the ftp doesn't go through. However, a simple retry does it. Idealy there should be a retry option for ftp as I have to come early in the morning to check if the ftp has gone through, otherwise I have to run the task manually as there is a deadline by which the file has to be there. Appreciate your feedback. |
| Reply1 |
Hi Pranil, Thanks for using Automize. 1) ) When the error occurs does the exit code >0? In this case you can schedule a variable monitor task (about an hour after the Ftp task) which monitors this variable . If exit code > 0, this variable monitor task should run the Ftp task again. or: 2) After a successfull Ftp, in many processes the source file is moved out from the ftp folder either using the delete source file after transfer option or backup local file option, or a subsequent copy/delete task. If this is the case for you, you can use another ftp task (scheduled about an hour later) to run again. If the file still exists in the local folder, it will be transferred again. If the file has already been transferred, and does not exist in the folder, nothing will happen during second run. -- Sincerely, Melvin Desilva Hitek Software |
| Reply2 |
Awesome! Thanks heaps!!! Rgds/Pranil.
|
| COMMENTS | Additionally use the maintain timestamp options, and the option to transfer modified files only. This makes sure that files are not retransferred during subsequent cycles |
| Reply4 | |
| Reply5 |