SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
FTPPutFile & Error Handling

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
FTPPutFile & Error Handling
Author Message
Drake



Joined: 07 Jan 2003
Posts: 7

Post FTPPutFile & Error Handling Reply with quote

Hi,
What would be best way be to ensure that a FTPPutFile
is always successful?

Thanks
Drake


Mon Mar 10, 2003 10:33 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7847

Post Re: FTPPutFile & Error Handling Reply with quote

Make sure you have a stable network connection and do not upload files while they are in use by other processes.

If you have no control over these things you can set the job to retry if it fails. Using number of retries and retry interval parameters you can configure how long and how many times you want the job to retries before going to FAILURE state.

You can also add custom logic like if the destination file already exists (FTPFileExists)try to delete it first (FTPDeleteFile) if delete fails wait to do that again as long as needed. You can check that the source file exists (FileExists) and it is not in use by trying to open it for reading (FileOpen/FileClose), and so on..., but I see no real value in doing that.

: Hi,
: What would be best way be to ensure that a FTPPutFile
: is always successful?

: Thanks
: Drake

Mon Mar 10, 2003 11:40 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.