FTP transfer very slow

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Why has it always been that same speed from 3 Mbit to 8 Mbit?
Because download speed has nothing to do with upload speed. You get what you pay for.
I think it was showing as 60 kBits in TC.
The theoretical maximum of a 512 kbit/s connection is 62.5 KiB/s. So, if you get 60 in TC, this is perfectly ok.

Furthermore, if you want to have correct values, you should not rely on TC or any other FTP app.

Use NetMeter:
http://www.metal-machine.de/readerror/

or NetSpeedMonitor, for example:
http://www.floriangilles.com/software/netspeedmonitor/

Both offer correct display of SI/IEC units.

Icfu
This account is for sale
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

The upload speed allowed from the ISP has always increased with each jump in speed. But it has always been the same in TC, is what I was meaning.

I downloaded NetSpeedMonitor and will give it a shot, thanks.
User avatar
Kamo
Junior Member
Junior Member
Posts: 2
Joined: 2008-11-19, 09:25 UTC
Location: Poland

Post by *Kamo »

ghisler(Author) wrote:Try to increase the upload block size from 512 to 8192 or even 32768 (you need to test it yourself):

wcx_ftp.ini
[General]
UploadBlockSize=8192

I just wanted to thank You for this. I was struggling with slow upload in tc but now after adding this line ( i never had it in this file) and making it 32768 my upload speed is now maximum :) (from 30kB to 60 with 512 kbit upload speeed)

Thank you.
I still got some issues with tc but searching is the key. First one is gone :)
HeRo
Junior Member
Junior Member
Posts: 38
Joined: 2011-01-19, 19:13 UTC
Contact:

Post by *HeRo »

ghisler(Author) wrote:Try to increase the upload block size from 512 to 8192 or even 32768 (you need to test it yourself):

wcx_ftp.ini
[General]
UploadBlockSize=8192
I think it would be VERY smart if future versions automatically set UploadBlockSize to something high. I tried 46720 (somewhat random), which doubled the speed so now TC is only about 3% slower than FileZilla!

At the same time it might be a good idea to make passive mode the default instead of active mode, since there seems to be more problems with the active mode.
Passive mode is the default, and the recommended mode, in FileZilla.

- HeRo
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

HeRo wrote:
ghisler(Author) wrote:Try to increase the upload block size from 512 to 8192 or even 32768 (you need to test it yourself):

wcx_ftp.ini
[General]
UploadBlockSize=8192
I think it would be VERY smart if future versions automatically set UploadBlockSize to something high. I tried 46720 (somewhat random), which doubled the speed so now TC is only about 3% slower than FileZilla!

At the same time it might be a good idea to make passive mode the default instead of active mode, since there seems to be more problems with the active mode.
Passive mode is the default, and the recommended mode, in FileZilla.

- HeRo
Did you try 65536?
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

HeRo wrote:At the same time it might be a good idea to make passive mode the default instead of active mode, since there seems to be more problems with the active mode.
I can offer quick comparison for that:

Code: Select all

   Client                                         Active   Passive
-------------------------------------------------------------------
1) Public IP (incoming allowed)                     OK       OK
2) Public IP (incoming blocked)                    FAIL      OK
3) Behind NAT with forwarded data ports             OK       OK
4) Behind NAT without FTP helper                   FAIL      OK
5) Behind NAT with FTP helper, no SSL               OK       OK
6) Behind NAT with FTP helper, with SSL            FAIL      OK
7) Client 1), 3) or 5) with misconfigured server    OK      FAIL*
1) Either without firewall or with exception for TC to allow any incoming connection. Quite standard, but with IPv4 exhaustion it will be less often available.

2) As 1), but without proper configuration.

3) Manually forwarded data ports. Rare.

4) Client sends private address to server and NAT router does not rewrite it.

5) Similar to 4), but router inspects packets and rewrites addresses. Most common.

6) Exactly the same as 5), but if the connection is encrypted, packets can't be inspected by router. On the rise, frequent source of confusion, "but it worked so well without SSL, what happened?"

7) Server behind NAT without configured data ports forwarding, data ports blocked by firewall or something like that. If the server returns private address in reply to PASV command, TC converts it to public address of server (unless turned off by SpecialFlags=1024) which can also cause problems in some specific cases, but sometimes it might actually help.

For me the winner is obvious. :)
HeRo
Junior Member
Junior Member
Posts: 38
Joined: 2011-01-19, 19:13 UTC
Contact:

Post by *HeRo »

Boofo wrote:
HeRo wrote:I think it would be VERY smart if future versions automatically set UploadBlockSize to something high. I tried 46720 (somewhat random), which doubled the speed so now TC is only about 3% slower than FileZilla!
Did you try 65536?
No. I don't want to spend a lot of time finding the absolute optimum, so I just chose a number mentioned by someone here on the forum.
Post Reply