Page 1 of 1

proFTPD Time Out Setting

PostPosted: 29. October 2011 04:01
by bl4d3 x
Can i be pointed in the right direction to adjust the setting for ftp pls i can download my files ok for a good 50 seconds then i get a lot of time outs ? i never had this on windows im now on linux (ubuntu 11.10) xampp 1.7.7


Code: Select all
Response:   226 Transfer complete
Status:   File transfer successful, transferred 941 bytes in 1 second
Status:   Starting download of /styles/subsilver2/template/ucp_main_drafts.html
Command:   PASV
Response:   227 Entering Passive Mode (78,150,12,235,225,29)
Command:   RETR ucp_main_drafts.html
Error:   Connection timed out
Error:   File transfer failed
Status:   Resolving address of phpbbcodes.dyndns.org
Status:   Connecting to 78.150.12.235:21...
Status:   Connection established, waiting for welcome message...
Error:   Could not connect to server
Status:   Delaying connection for 5 seconds due to previously failed connection attempt...
Error:   Connection timed out
Error:   File transfer failed
Status:   Delaying connection for 5 seconds due to previously failed connection attempt...
Status:   Resolving address of phpbbcodes.dyndns.org
Status:   Connecting to 78.150.12.235:21...
Status:   Connection established, waiting for welcome message...
Error:   Could not connect to server
Status:   Delaying connection for 5 seconds due to previously failed connection attempt...
Status:   Delaying connection for 5 seconds due to previously failed connection attempt...
Status:   Resolving address of phpbbcodes.dyndns.org
Status:   Connecting to 78.150.12.235:21...
Status:   Connection established, waiting for welcome message...
Error:   Could not connect to server
Status:   Delaying connection for 5 seconds due to previously failed connection attempt...
Status:   Delaying connection for 5 seconds due to previously failed connection attempt...
Status:   Resolving address of phpbbcodes.dyndns.org
Status:   Connecting to 78.150.12.235:21...
Status:   Connection established, waiting for welcome message...

Re: proFTPD Time Out Setting

PostPosted: 29. October 2011 08:04
by Sharley
Hello,

What FTP client are you using - FileZilla for example?

There are retry and time out settings available in this client.

This link has some useful FileZilla network configuration help:
http://wiki.filezilla-project.org/Network_Configuration


Have you tried another connection mode ie. active (PORT) instead of passive (PASV)?

The link below may save you some time perhaps. :)

Are there any clues for your time out error in these Google Search Results especially those results from the proFTPD forum.

There seems to be a debug log file that may give more clues - sorry, no Linux box, so not sure where to look for that file but I see links to a how to in the above proFTPD forum results.
http://www.proftpd.org/docs/howto/Debugging.html

Also if you are connecting through a router then there are also tips in the above FileZilla forum results.

Make sure that it is not a firewall blocking issue that may be relevant to your connection mode mentioned above.
http://slacksite.com/other/ftp.html#active

Good luck and best wishes. :)

Re: proFTPD Time Out Setting

PostPosted: 10. November 2011 00:34
by Ximix
In Proftpd the default timeout for idle connections is 5 min (300 sec). If you need to increase it you can add:
TimeoutNoTransfer 3600
TimeoutIdle 3600
to your proftpd.conf file (time represented in seconds).