New SFTP plugin available now

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
totalcmd16a
Junior Member
Junior Member
Posts: 9
Joined: 2013-09-09, 04:15 UTC

The new sftpplug is very slow...

Post by *totalcmd16a »

This is a small bug, the newer sftpplug is very slow when download a file from a sftp site.
The old sftpplug version can download file as 10M/s, But the new one only 300K/s...
All the files in 7z. password: test
http://yunpan.cn/QGJVQEdaa9feS

Please help me to resolve this, I want use the newer one.
Many many thanks~!
User avatar
white
Power Member
Power Member
Posts: 4631
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

[mod]Topic The new sftpplug is very slow... merged (1 post).

Fixed the link to the download page.

White (moderator)
[/mod]

sftpplug.7z file listing:

Code: Select all

sftpplug_fast_10M.wfx	200.704	19-05-2010 06:02	-a--
sftpplug_slow_300K.wfx	225.280	04-03-2013 09:06	-a--
sftpplug_slow_300K.wfx is sftpplug.wfx version 1.4.1 32 bit.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48118
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Which version was the old one?
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4631
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

ghisler(Author) wrote:Which version was the old one?
karlchen [url=http://www.ghisler.ch/board/viewtopic.php?p=210576#210576]here[/url] wrote:Hello, Mark.

Which beta version was the last that worked for you?
The reason for asking is that the last beta version, v0.98 dated 2010.05.19, and the current final version, v1.00 dated 2010.06.29, hold the same binary file sftpplug.wfx.
sftpplug.wfx 200.704 19.05.2010 12:02 -a--
So I think the old version is v0.98.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48118
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

There have been 123 changes to sftpfunc.cpp alone between 0.98 and 1.41, so it's very difficult to say what is causing your problems. Maybe you were just using SCP transfers with one, and SFTP transfers with the other? SCP is MUCH faster because it transfers the entire file as one stream, while SFTP requests separate blocks.
Author of Total Commander
https://www.ghisler.com
ggiunta
Junior Member
Junior Member
Posts: 39
Joined: 2005-05-09, 16:40 UTC

problem: 1.41, tc 8.50b2, curl 7.32.0 64bit: cant load dll

Post by *ggiunta »

Hello

I get the "please put dlls" error message regardless of the location where I put the curl dlls: TC dir, plugin dir, plugin_dir/64, TC_dir/64.

Sw versions: plugin 1.41, tc 8.50b2, curl 7.32.0 (curl-7.32.0-devel-mingw64.7z), windows 7 64bit ultimate

It used to work with tc 8.01 (not sure about curl version back then)

Nb: I might have other versions of the ssl dlls in my path
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48118
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Please put them all in the Totalcmd directory (where totalcmd.exe is located), and don't forget zlib1.dll.
Author of Total Commander
https://www.ghisler.com
ggiunta
Junior Member
Junior Member
Posts: 39
Joined: 2005-05-09, 16:40 UTC

Post by *ggiunta »

It worked, thanks!

In fact I think the dlls were already there, I think I just was running the 32bit binary instead of the 64bit one, because of a bad pinned-program in the windows task bar, doh!
totalcmd16a
Junior Member
Junior Member
Posts: 9
Joined: 2013-09-09, 04:15 UTC

Post by *totalcmd16a »

Many thanks for reply~ boss~ ^_^~
SCP doesn't work with my SFTP. SCP mode couldn't connect with the SFTP server...
ghisler(Author) wrote:There have been 123 changes to sftpfunc.cpp alone between 0.98 and 1.41, so it's very difficult to say what is causing your problems. Maybe you were just using SCP transfers with one, and SFTP transfers with the other? SCP is MUCH faster because it transfers the entire file as one stream, while SFTP requests separate blocks.
totalcmd16a
Junior Member
Junior Member
Posts: 9
Joined: 2013-09-09, 04:15 UTC

Post by *totalcmd16a »

If boss want to find the root of these defect, you can send me the debug version or tell me method, I'm coder too, I can do some test in my environment. ^_^~

ghisler(Author) wrote:There have been 123 changes to sftpfunc.cpp alone between 0.98 and 1.41, so it's very difficult to say what is causing your problems. Maybe you were just using SCP transfers with one, and SFTP transfers with the other? SCP is MUCH faster because it transfers the entire file as one stream, while SFTP requests separate blocks.
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

It would be best to first try older versions between the two you have and narrow it down a little. I thought I had them archived, but now I checked and I only have sources (you could probably compile them, but it's easier/faster/more realiable to start with official binaries). I'm sure someone has them and can make them available for download.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48118
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have put all versions between 0.98 beta and 1.41 here:
https://plugins.ghisler.com/fsplugins/sftp/

Please test which one is the last fast one and which the first slow one! You may need to use older versions of the ssh/ssl dlls too.
Author of Total Commander
https://www.ghisler.com
charly_35
Junior Member
Junior Member
Posts: 21
Joined: 2010-03-26, 17:14 UTC
Location: France Rennes 35

Command line in SFTP plugin

Post by *charly_35 »

LO,
I was using the FTP that is part of TC and I added the plugin for SFTP.
I notice a difference between the 2 :
when connected the command from the directory menu (cd /my_directory/data) is well passed when in FTP but not when in SFTP.
Nothing in log window. and the new position is on my computer to C.\
Is there a reason for ?
When I wrote it in the TC cmd line it's OK in FTP and SFTP
Regards
Charles.
Cdlt Charles.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48118
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have just tried it, the SFTP plugin accepts both paths with backslashes and forward slashes. Just check the path in the title, you may have to put
/home/username
in front of the path.
Author of Total Commander
https://www.ghisler.com
charly_35
Junior Member
Junior Member
Posts: 21
Joined: 2010-03-26, 17:14 UTC
Location: France Rennes 35

Post by *charly_35 »

[quote="ghisler(Author)"]I have just tried it, the SFTP plugin accepts both paths with backslashes and forward slashes. Just check the path in the title, you may have to put
/home/username
in front of the path.[/quote]
It's not a slash or backslash pb.
it's just the command "cd /home/username" that I have added in the directory menu that work OK in FTP window and not in the SFTP one.
The connexion is already done, it is just to swtch to the "/home/username" directory from anywhere in my FTP or SFTP connexion.
Regards Charles.
Cdlt Charles.
Post Reply