Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is FTP Timeout a parameter on a Linux server 1

Status
Not open for further replies.

audiopro

Programmer
Apr 1, 2004
3,165
GB
I am connecting to a Linux server via FTP and the timeout is just over 1 minute. You can imagine how frustrating, having to log in before every upload, can be.
This is on shared hosting and the hosts say this value cannot be altered.

I am using the same FTP client with other Linux servers and the timeout period is much longer.
How is this value set?

Keith
 
I am using the same FTP client with other Linux servers and the timeout period is much longer.
How is this value set?
Undoubtedly the value is set in a configuration file under the applications directory in /etc. There is a good chance that you may be able to read this file, but unless you have root access you won't be able to change it. To say that the value can not be altered means that they have set it collectively for all users and don't want to (be bothered to) alter it.
 
Thanks for the heads up.

I don't have root access unfortunately.
I suspect that this host is more used to the point and shoot WYSIWYG brigade rather than scripters. There basic setup does not even include a cgi-bin, just a public_html directory. Any time I contact the help line, they answer questions I didn't actually ask.
They assure me that the timeout is set to 15 minutes but I can't see how it can be.

Keith
 
Hello ,

Excuses me for my English

FileZilla client type can be configured to send commands Anti-disconnection as "PWD", "REST 0", "TYPE" or "TYPE I" to simulate an activity and prevent the FTP server log out

Bye

Cordially
 
Thanks for the reply but I need to continue using my current, DOS based FTP client for this particular task. I have tried a windows based FTP client and it does not time out on this server due to it issuing a keep alive command at regular intervals.

The ISP's support people have told me, in several replies to my support tickets that:-
1- The timeout is set to 15 minutes
2- The timeout is set to a period of 2 minutes
3- The timout period cannot be set
4- The timout period can only be set by the FTP client.

This array of conflicting information leads me to believe that the support people are guessing, rather than basing their responses on actual knowledge of a Linux server.

Keith
 
Usually the timeout will be sent in the "Welcome" message and the default is 15 mins, but in a shared environment might be changed, and the ermm, confusion sounds pretty much standard for "technical support" for many companies.

To send keep-alive commands you could have a WSH script running that sent a NOP command every few minutes.



Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Thanks for the voice of reason Chris, I suspect they have turned the wick down on the timeout to make the shared server run as fast as possible. There have been a few other clues that this particular ISP don't ususally cater for developers ie. no cgi-bin on a standard install. You have to ask very nicely for them to afford you the priveledge of using their precious Perl, PHP and MySQL installations.

Given the choice, I would move the site to one of the real ISP's I deal with but my client has used this ISP for years and they have always given excellent service blah blah blah.

Keith
 
One of the developers who hosts with us has the same complaint. One of his clients refuses to move from 1&1 shared hosting because he doesn't see the background problems it creates for the developer.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top