View Full Version : FTP Uploading Keeps timing out
jspiker
2003-08-31, 19:12 PM
Whenever I try to upload multiple files at once via ftp, it times out. A client is attempting to transfer a relatively large site and cant because the ftp or server times out with any larger files. Please help. Thankyou
tborish
2003-09-01, 09:06 AM
I am having the same problem. Whenever I connect to the server via FTP to upload anything, it takes about 5 seconds to even connect and it takes a very long time to upload one file.
It's impossible to upload multiple files at once without it timing out. As you can imagine, I have a site sitting here on my computer that can't even be uploaded right now.
Any help into what the problem may be or how it can be fixed would be greatly appreciated. Thank you :)
Originally posted by tborish
I am having the same problem. Whenever I connect to the server via FTP to upload anything, it takes about 5 seconds to even connect
That sounds like it may be firewall related. If you're behind a NAT firewall (like cable/DSL router) it's probably dropping identd requests sent to port 113, which will cause a 30 second delay on login. To avoid this, you would turn off DNS and ident (UseReverseDNS off and IdentLooksups off)
It's impossible to upload multiple files at once without it timing out. As you can imagine, I have a site sitting here on my computer that can't even be uploaded right now.
Any help into what the problem may be or how it can be fixed would be greatly appreciated. Thank you :)
You may be able to tweak your TimeoutIdle, TimeoutLogin, TimeoutNoTransfer, TimeoutStalled settings to suit you better and see if it helps any.
tborish
2003-09-01, 11:42 AM
Originally posted by QT_
That sounds like it may be firewall related. If you're behind a NAT firewall (like cable/DSL router) it's probably dropping identd requests sent to port 113, which will cause a 30 second delay on login. To avoid this, you would turn off DNS and ident (UseReverseDNS off and IdentLooksups off)
You may be able to tweak your TimeoutIdle, TimeoutLogin, TimeoutNoTransfer, TimeoutStalled settings to suit you better and see if it helps any.
Thank you for the prompt reply. I did have a firewall on my cable modem so connecting at first is now a breeze :)
However, I went ahead and changed the TimeoutIdle, TimeoutLogin, TimeoutNoTransfer, TimeoutStalled settings a bit and no matter what seconds I enter, I am still having the same problem of uploading the files very slow and only a few at a time before the server times out.
I keep on getting the error of "waiting for server..." every time I try to upload multiple files.
The strange thing is that I have another website on another shared server and it's much faster as far as trying to upload files over there. I simply upload a folder of about 1mb and it's up in no time on that server.
As I have already explained, it doesn't even get past 4-5 files in a folder without it timing out -- and slowly at that -- on this server right now. I know it's something small I can change and probably right in front of me -- but I still can't find what the problem is.
Thanks again for your input and any further assistance would be greatly appreciated! :)
There may be a bad link somewhere between you and your server. Just because you can upload fast to one location on the internet, does't necessarily mean that every other location will be just as fast.
You might want to run "tracert <IP of your server>" to see which path data takes to your server, and possibly spot a slow link.
tborish
2003-09-01, 12:08 PM
Thanks, once again, for the quick reply. I did run what you told me to and it listed a bunch of numbers that took quite a while -- then ended. I'm not sure what to do at this point and I think I should mention that I am not an expert by no means as far as server configuration. I'm just a web designer trying to get my site on-line :)
If there is anything else I should be aware of or what exactly I should do, it would be appreciated once again. Thanks :)
Originally posted by tborish
I did run what you told me to and it listed a bunch of numbers that took quite a while -- then ended.
Can you paste that output here? :)
tborish
2003-09-01, 12:24 PM
http://www.trackshark.com/route.jpg
I think that is what you are looking for...I had to take a screenshot
tborish
2003-09-01, 16:06 PM
I went ahead and clicked on using a passive FTP in my settings and that seemed to help a bit as far as not timing out anymore. However, it's still very slow as far as uploading any files. For example, an image of 18kb takes about 5 seconds each to upload and I have plenty of files still to be uploaded.
At any rate, if there is anything else I can do, feel free to let me know. It doesn't look like the team from server beach will answer our ticket since it's Labor Day weekend until Tuesday :(
Tino Didriksen
2003-09-01, 16:30 PM
Each file has a certain overhead, so uploading them 1-by-1 will take a looong time.
Use a client that can connect with multiple threads. That way you could upload any number of files at a time...
Originally posted by tborish
I went ahead and clicked on using a passive FTP in my settings and that seemed to help a bit as far as not timing out anymore. However, it's still very slow as far as uploading any files. For example, an image of 18kb takes about 5 seconds each to upload and I have plenty of files still to be uploaded.
At any rate, if there is anything else I can do, feel free to let me know. It doesn't look like the team from server beach will answer our ticket since it's Labor Day weekend until Tuesday :(
It's much more efficient to upload one big file (zipping them up) than 100 small. The way FTP works, it has to create and breakdown a connection each time it has to upload a file...less overhead to upload one file.
As far as the speed of the uploads, there's a chance it may be your provider or something in between your provider and ServerBeach.
tborish
2003-09-01, 18:11 PM
Thank you all for taking the time out of your day for the help. Everything is working much better now after all the tweaking and updating. This looks to be a very reliable forum for troubleshooting and it's much appreciated!
Originally posted by tborish
Thank you all for taking the time out of your day for the help. Everything is working much better now after all the tweaking and updating. This looks to be a very reliable forum for troubleshooting and it's much appreciated!
Glad you got it all fixed up.
This forum is very useful and can definitely save us some support tickets in the long run. There are a lot of helpful and knowledgable people on here and we're all appreciative for that..and I bet ServerBeach is too considering it probably saves them a lot of time and allows them to work on other tasks that need to be taken care of as well. :)
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.