(again) Slow FTP transfer

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

If you set the UploadBlockSize to 46720 on slow dialup (e.g. via mobile phone tethering over 2G), TC would freeze for several seconds each time a block is sent. Therefore it's better to have a small block size by default.
Author of Total Commander
https://www.ghisler.com
User avatar
Blight
Junior Member
Junior Member
Posts: 55
Joined: 2003-03-22, 23:04 UTC

Post by *Blight »

So for 2% (a guess) of the dial-up user-base, it's best to slow-down for the 98% on DSL/Cable/Modern Internet?

Maybe a solution can be a checkbox in the FTP options captioned "I'm on a dail-up connection"?
Yaron Gur
Zoom Player . Lead Developer
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, I prefer stable operation over maximum speed - you can still change it manually. Btw, I tried to use adaptive block sizes as I do for downloads. Unfortunately it's not possible to get the upload speed reliably, because Windows itself uses internal buffers. Therefore it may seem fast initially, but then suddenly slow down...
Author of Total Commander
https://www.ghisler.com
MC
Senior Member
Senior Member
Posts: 402
Joined: 2003-02-05, 13:53 UTC

Post by *MC »

I have been optimizing my GigaBit home network with the special view on my iOS devices. It is important for me to be able to quickly copy data TO iPhone and iPad. I stumbled over the effect that the (in this case) upload speed was only 2.5 MByte/s when using TC and FTP. http and other FTP clients reached around 5 MByte/s. With an Asus RT-N66U router using 5 GHz I achieved up to 10 MByte/s, with TC still struggling at 2.7 MByte/s.

Thanks to this thread I quickly tried different UploadBlockSize values, and had to use the same as the others (46720) to reach the max FTP throughput of 8.2 MByte/s. The connection to my website did not change (around 100 kB/s...har har).

Maybe this info is useful for someone. These upload speeds can be reached with iPhone 5, iPad 4 and iPad 3. Download (pulling something from the devices) is limited to about 5 MByte/s, no matter if ftp or http is used.
Tozz
New Member
New Member
Posts: 1
Joined: 2013-09-25, 21:11 UTC

Post by *Tozz »

Sorry to bump this thread, but I just could not resist not to reply. I am a long time registered user of Total Commander, and until recently had never had this issue. Perhaps its because of an TC upgrade, not sure, but all of a sudden my transfer did not go faster then 250 kB/s while they would usually just utilize my full 100 Mbit. I got it fixed by changing the upload setting.

I think this is absurd. I never had an FTP client in which I needed to change an FTP upload setting. FileZilla does not 'freeze' with slow connections, so why should TC?

Also, I needed to dive into my registry to find out the wcx_ftp.ini location. This is not something an inexperienced user would do. The location is also not set as a direct path, but rather uses %APPDATA% variables. I know what this means, but I am sure not all people wanting to change this INI setting know what it means.

Then after I found the INI file I added the directive at the top of the file, which did not work. I have quite a lot of FTP sessions configured. It took me a few minutes to notice that the [Global] directive is at the bottom of the file, and the modification needs to be done there.

Basically, fixing this (I feel this is one) bug is way too complex.

This should be fixed. This is just stupid.
whytea
Member
Member
Posts: 135
Joined: 2006-02-18, 11:58 UTC

Post by *whytea »

I have similar feeling as Tozz on Totalcmd ftp, perhaps not as strong :) It's usable, but there are always some minor annoying issues. My solution is to have a button for winscp to take care of the situations when Totalcmd ftp "fails".
jannuh
New Member
New Member
Posts: 1
Joined: 2013-10-05, 11:09 UTC
Location: the Netherlands

Post by *jannuh »

Tozz wrote:Sorry to bump this thread, // snip //
Then after I found the INI file I added the directive at the top of the file, which did not work. I have quite a lot of FTP sessions configured. It took me a few minutes to notice that the [Global] directive is at the bottom of the file, and the modification needs to be done there.
According to the help file it should be under [General], which I tried;
tried also the [Global] part of the ini file.
In both cases I see no change in u/l-speed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It must be in wcx_ftp.ini and not wincmd.ini, and in section [General]. Make sure that there isn't more than one section with this name.
Author of Total Commander
https://www.ghisler.com
ralle_h
Junior Member
Junior Member
Posts: 9
Joined: 2017-05-05, 17:52 UTC

Post by *ralle_h »

After Migrating from TC 8.01 to 9.0 my FTP download speed became capped at ~70 Mbit suddenly. Any known workaround for this issue (on Windows 7 x64)?
cubic
Junior Member
Junior Member
Posts: 78
Joined: 2007-07-18, 12:21 UTC

Re: (again) Slow FTP transfer

Post by *cubic »

Any fix for this?
I have 3MB/sec when I upload a single file, and 50KB/sec when I upload a whole folder.
[General]
e-mail=test@yahoo.com
ASCII=*.txt *.htm *.html *.php; *.js; *.css
ConnectRetries=7
WaitDelay=3
transfermode=I
LogFile=%TEMP%\tcftp2.log
FtpInBackground=1
ModeZ=1
AutoResume=30
I tried UploadBlockSize=1460 but no change.


Can I delete this section and let TC recreate it? Will it fix the problems?
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: (again) Slow FTP transfer

Post by *petermad »

2cubic
Here is my General setting, it works quite well:

Code: Select all

[General]
Allowhook=1
Transfermode=X
ASCII=*.txt *.htm* *.js *.css *.rpm *.ram *.shtml
FtpShowHidden=1
ConnectRetries=10
WaitDelay=5
FtpInBackground=0
ModeZ=1
AutoResume=20
MDTM=3
UploadBlockSize=32768
WarnWrongMode=1
AutoDisconnect=2
TcpKeepAlive=0
ReturnToReUploadDir=1

[default]
pasvmode=1
PreserveDates=1
ViaLocalPC=1
PreserveDatesUpload=1
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: (again) Slow FTP transfer

Post by *ghisler(Author) »

Uploading many small files via FTP is much slower than uploading one big file. Why? For each transfer, a separate data connection has to be negotiated with the server, then that connection has to be made before the actual data can be sent.
Author of Total Commander
https://www.ghisler.com
cubic
Junior Member
Junior Member
Posts: 78
Joined: 2007-07-18, 12:21 UTC

Re: (again) Slow FTP transfer

Post by *cubic »

slow upload for folder. the current uploading file is 18MB
https://easyupload.io/ejq91h

____________

uploading the same file alone (not the whole folder):
https://easyupload.io/18x30l
Last edited by cubic on 2021-07-23, 09:37 UTC, edited 2 times in total.
Post Reply