hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Issue with "421 Timeout" - reduce the wait time?

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> FTP & SFTP
View previous topic :: View next topic  
Author Message
apollonius



Joined: 24 Jul 2007
Posts: 27
Location: Switzerland

PostPosted: Tue Apr 22, 2008 12:04 am    Post subject: Issue with "421 Timeout" - reduce the wait time? Reply with quote

Hi

We're downloading files from multiple FTP servers every day. One of the servers quite often causes a timeout with Error 421:

Code:

**ERROR Information - 421 Timeout (900 seconds): closing control connection.


I would like to reduce this 900-second timeout to a smaller value. The property "Data Timeout(s)" of the Profile is set much lower (65) but that doesn't seem to work with this specific timeout issue.

Can I somehow reduce this timeout time?

We're currently using Automize 7.43. Issue reproducible with "manual" download" via FTP browser; occurs periodically.
The FTP download task is started via a script task and as long as the download task "hangs", i.e. waits for the timeout, the script task is waiting as well.

Thanks and regards,
Silvan
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Tue Apr 22, 2008 4:23 pm    Post subject: Reply with quote

I guess that is a command timeout from the server end.. i.e. if no command is sent by the client then the server disconnects the client after 900 seconds of inactivity.

The data timeout of 65 seconds sets the timeout in milliseconds to use when reading from the data connection. This timeout will be set immediately after opening the data connection.

There is no other timeout that can be set looking at the documentation of our 3rd party Ftp api.

Your other options are:
1) run Ftp task in chain and wait for x minutes .. if task does not return , return control to script from chain.
2) run Ftp task as external process (engine menu) . wait time = x minutes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> FTP & SFTP All times are GMT - 8 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