SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
FTP Timeout Code Question

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
FTP Timeout Code Question
Author Message
bkendzor



Joined: 10 Feb 2011
Posts: 22
Country: United States

Post FTP Timeout Code Question Reply with quote
In an important nightly process, we issue the following command:
FTPPutFile( "servername", "user", "pass" , inv_ftp, inv_path )

About once a month, we get a timeout waiting for password prompt from the server:
An error occurred while executing automation script: Line 197: Logon failed or host not found. Additional information: Connection timeout occurred while waiting for Password prompt.

How can I retry the ftpputfile command if I receive this error and continue with the rest of the script?

Beth
Fri Oct 21, 2011 11:26 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6509

Post Reply with quote
The simplest method is to use job retry properties to make the scheduler retry the job several times. You can specify number of tries and long to wait between tries. You can also use programmatic error handling, see OnErrorXXXX JAL statements and examples in the on-line help
Fri Oct 21, 2011 8:16 pm 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.