Slow upload speed over SFTP
Moderators: white, Hacker, petermad, Stefan2
Slow upload speed over SFTP
I installed the sftp plugin but the upload speed is very slow. Why is that? If i upload the same files with WinSCP the speed is faster.
- sqa_wizard
- Power Member
- Posts: 3867
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Which one?I installed the sftp plugin
SFTP plugin 1.4.67.4 of Stefan "Bebbo" Franke
SFTP plugin 1.4.2 stable of Christian Ghisler
SFTP plugin 1.4.3 beta of Christian Ghisler
If it is one of Christians then you may enable option "Use scp for transfers".
#5767 Personal license
Also: What do you mean by "slow" exactly? Where is the SFTP server located (in your LAN or somewhere on the internet)? Did you compare transfer/connection settings in both TC and WinSCP?
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
I am using this plugin http://www.ghisler.ch/board/viewtopic.php?t=19994&postdays=0&postorder=asc&start=0sqa_wizard wrote:Which one?I installed the sftp plugin
SFTP plugin 1.4.67.4 of Stefan "Bebbo" Franke
SFTP plugin 1.4.2 stable of Christian Ghisler
SFTP plugin 1.4.3 beta of Christian Ghisler
If it is one of Christians then you may enable option "Use scp for transfers".
I tried with the option 'use scp for transfer' enabled' but no difference in the speed.
It's a remoter server, and the speed is about 100 kilobytes/s, when with WinSCP is about 400 kilobytes/s.Dalai wrote:Also: What do you mean by "slow" exactly? Where is the SFTP server located (in your LAN or somewhere on the internet)? Did you compare transfer/connection settings in both TC and WinSCP?
Regards
Dalai
What about the connection settings? In which direction are you transferring (down- or upload, from or to the server)? Which DLLs are you using for the plugin, if any? What OS are you using (version, architecture)?
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Regarding the DLLs I meant which version of them do you have? Since you didn't say that you have zlib1.dll I assume that your DLLs are rather old. And you still didn't say anything about the connection settings. Please give more details.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
I don't know which version the .dll's are, i don't know how to check the version. But i have zlib1.dll in the plugin folder. I just downloaded the plugin, then click on the zip file and installed it.
This is the connection settings:
Image: https://i.imgur.com/MWMAhso.jpg
As i said this is the upload speed to remote server, a namecheap server, but i also tried with LAN connection to my android tablet and the speed was the same.
This is the connection settings:
Image: https://i.imgur.com/MWMAhso.jpg
As i said this is the upload speed to remote server, a namecheap server, but i also tried with LAN connection to my android tablet and the speed was the same.
- ghisler(Author)
- Site Admin
- Posts: 48162
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, please try the option "Use scp for transfers". It is much faster because the data is uploaded in one stream. The standard SFTP method copies the data in small blocks, and waits for the confirmation for each. This is a general design flaw of SFTP.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
And where exactly did you download the DLLs?peter35 wrote:I don't know which version the .dll's are, i don't know how to check the version. But i have zlib1.dll in the plugin folder. I just downloaded the plugin, then click on the zip file and installed it.
OK, and how are your settings in WinSCP?This is the connection settings:
Image: https://i.imgur.com/MWMAhso.jpg
I'm getting these speeds within a LAN:
- about 16 MiB/s when transferring from XP x64 to Ubuntu 14.04 with SCP for transfers enabled, and about 8 MiB/s with SCP disabled.
- about 30 MiB/s when transferring from Win7 x64 to Ubuntu 14.04 with SCP enabled, and about 13 MiB/s with SCP disabled
You should als try with a disabled virus scanner or something.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
With SCP enabled there is not much of improvement, about 150 kbytes/s. The settings for the WinSCP are the default settings, and the speed is about 400 kbytes/s. If these are the speeds on your system there is probably something wrong on my system.
I downloaded the .dll files from the plugin download section. I get the files from this archive - curl-7.40.0-devel-mingw64.7z.
I downloaded the .dll files from the plugin download section. I get the files from this archive - curl-7.40.0-devel-mingw64.7z.
OK, the DLLs are fine, they're the current ones although version 7.40 is 2.5 years old now...
Do you have another system you could test on? Can you try the transfer in Windows safe mode (with network obviously)? This would rule out any background processes, anti-virus/malware software and so on.
Regards
Dalai
Do you have another system you could test on? Can you try the transfer in Windows safe mode (with network obviously)? This would rule out any background processes, anti-virus/malware software and so on.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
I tested the upload speed in Windows safe mode with networking but no change.
But i have Linux Mint on virtualbox and i downloaded Filezilla and setup sftp connection to the same remote server and the upload speed went above 1 Mb/s when i tested it, so i guess the problem is somewhere on my Windows system.
But i have Linux Mint on virtualbox and i downloaded Filezilla and setup sftp connection to the same remote server and the upload speed went above 1 Mb/s when i tested it, so i guess the problem is somewhere on my Windows system.
Seems so, yes. Did you use some kind of network/internet tweaking software sometime in the past?peter35 wrote:[...] so i guess the problem is somewhere on my Windows system.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror