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
larry99
Junior Member
Junior Member
Posts: 44
Joined: 2009-01-16, 16:03 UTC
Location: Germany

Post by *larry99 »

ghisler(Author) wrote:Feel free to publish all code changes, I have published all my other plugins under a BSD-type licence. I don't know why I forgot to include it here.
Here it is:
http://rapidshare.com/files/449910899/sftpplug.v1.0_proxy_per_connection.rar
In this archive is the changed source file and the new wfx

@Sob: thanks for your help!
kaliki
Junior Member
Junior Member
Posts: 2
Joined: 2009-05-31, 14:43 UTC
Location: Moscow

Unable to request SFTP subsystem

Post by *kaliki »

ghisler(Author) wrote:
It would be so helpful if it was possible to define per connection proxy settings.
Indeed this isn't currently supported, sorry.
SFTP Error
Error: Could not initialize SFTP session!
Unable to request SFTP subsystem
This means that the plugin managed to connect to the server via SSH protocol, but the server refused to open the SFTP channel. Sorry, I don't know why the server would refuse it. WinSCP uses a different protocol (pure SSH for the file lists, and SCP for the data transfers).
In my case problem was in server missconfiguration:
Subsystem sftp /usr/libexec/sftp-server
insted of:
Subsystem sftp /usr/lib/sftp-server
was writen in /etc/ssh/sshd_config
diceman2037
Junior Member
Junior Member
Posts: 26
Joined: 2010-07-17, 05:41 UTC

Post by *diceman2037 »

im using this plugin with my sites sftp and uploads/downloads fail anytime a file is more then exactly 48K.

any idea's?

the same settings work fine for sourceforge though....
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, no idea. Can you try the alternative transfer method (SCP checkbox)?
Author of Total Commander
https://www.ghisler.com
diceman2037
Junior Member
Junior Member
Posts: 26
Joined: 2010-07-17, 05:41 UTC

Post by *diceman2037 »

yeah, same problem.

WinSCP doesn't have any problems.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, WinSCP doesn't use SFTP to get the directory listing, the plugin does. WinSCP probably sends an "ls -l" command to the shell, and then tries to interpret the returns - a nightmare with all the language versions of Unix...
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have now created a new version of my SFTP plugin which supports multiple proxies, while still retaining compatibility with existing proxy settings. The advantage is that you can quickly change the proxy of all connections using the same proxy, e.g. when changing between home and work PC.

Please download the new version 1.1 beta 1 from here:
https://plugins.ghisler.com/beta/sftpplug11beta1.zip
and the sources:
https://plugins.ghisler.com/beta/sftpplug_src11beta1.zip

This new version also allows to store the proxy password in the internal password manager of Total Commander (protected with master password).

Please let me know here in the forum or by e-mail whether it works or not!
Author of Total Commander
https://www.ghisler.com
CoolWater
Power Member
Power Member
Posts: 739
Joined: 2003-03-27, 16:33 UTC

Post by *CoolWater »

2ghisler(Author)

just a little cosmetical "bug". The proxy settings window uses a different font as the main settings window of the sftp connection.

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

Post by *ghisler(Author) »

I will check that, thanks!
Author of Total Commander
https://www.ghisler.com
blackraven
Junior Member
Junior Member
Posts: 2
Joined: 2011-07-11, 13:47 UTC
Location: Netherlands
Contact:

How to use?

Post by *blackraven »

I must overlook something, but...
How is the SFTP plugin used after installation?
Best regards,
Marco
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

You will find the plugin in the network neighborhood within the Total Commander.

mf
Bankster - Word of the Year 2009
blackraven
Junior Member
Junior Member
Posts: 2
Joined: 2011-07-11, 13:47 UTC
Location: Netherlands
Contact:

Post by *blackraven »

Ah, not in the menu, but in one of the files-panels - and then under "network neighborhood" - found it, thanks!
Best regards,
Marco
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

We now have SFTP plugin for x64 TC too. There's only one small problem, where to get 64-bit libssh2.dll? The usual source (cURL) doesn't seem to have one, unless I overlooked it. My self-compiled dll also didn't work with the distributed binary plugin. Finally compiling everything (OpenSSL+libssh2+plugin) did the trick. But not many users have the option to do that. Any official comments?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have also had to compile the dlls myself. Does anyone know a download location? If not, I will put the files online myself.
Author of Total Commander
https://www.ghisler.com
mag
Junior Member
Junior Member
Posts: 35
Joined: 2008-10-06, 08:35 UTC

Post by *mag »

I spent some good time looking for a decent source of those compiled curl libraries but to no avail. One may possibly find some unreliable builds here or there, but no seriously maintained source of them.
So if you would be that kind to publish your own builds that would be greatly appreciated.
Post Reply