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
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

2Bjorn2 Hmm, tried local with msftpsrvr.exe and it works (Win 7 x64 and TC 7.55b).
Did you copied all ssh files?

mf
Bankster - Word of the Year 2009
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6490
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Bjorn2 wrote:I'm having trouble getting SFTP to work. I use v7.50a and Windows 7 x64. Has anyone got this to work? It works fine with Winscp so the login credentials are ok. Nothing happens when trying to connect. I really want this to work so I can ditch winscp.
I also have Windows 7 x64 and sFTP works fine with OpemSSH servers for Windows on the other side.
Jack!
Junior Member
Junior Member
Posts: 10
Joined: 2009-05-19, 08:05 UTC

Post by *Jack! »

I'm also using Window 7 x64 and don't have issues with the
SFTP plugin (v0.97 beta). Having said that it's not possible for me to download or upload files that have a filename with a space in it using SCP mode to transfer files. Normal transfer mode works fine.
Semper nocuit differre paratis.
Bjorn2
Junior Member
Junior Member
Posts: 4
Joined: 2010-03-30, 14:07 UTC

Post by *Bjorn2 »

I'm trying to post the file names but I get this error message:

"In order to try to prevent spammers, we do not allow our users to post URLs in any form until they have posted at least 1 legitimate posts and have been with us for more than 1 days. We appreciate your understanding in this matter in order to help us eliminate spam from this forum. If you have somehow gotten this message even though you meet both of the criteria, please let us know ASAP."
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed the OpenSSH SCP functions don't seem to be able to handle spaces in names, sorry. :(
Author of Total Commander
https://www.ghisler.com
Bjorn2
Junior Member
Junior Member
Posts: 4
Joined: 2010-03-30, 14:07 UTC

Post by *Bjorn2 »

This is the files I have put in the totalcmd folder:
curl.exe
libcurl.dll
libeay32.dll
libidn-11.dll
libssh2.dll
libssl32.dll
zlib1.dll

Curl is the x64 version. Have I missed something maybe? It tries to connect but it just times out. The server (Linux) responds on port 25000 though, so I added :25000 to the host, but that shouldn't matter, maybe a bug?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Are you sure you are using the SFTP plugin (in Network Neighborhood) and not the internal FTP client (Ctrl+F)? The former is needed for SFTP (FTP over SSH), while the latter is needed for FTPS (FTP over SSL). The two are two completely different, incompatible standards for secure data transfers.

SFTP is similar to Telnet/SSH, while FTPS is similar to HTTPS.
Author of Total Commander
https://www.ghisler.com
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

@Bjorn2> You need dlls from 32 bit cURL distribution. It's Win32 2000/XP 7.20.0 libcurl SSL enabled Günter Knauf 2.82 MB on download page. Sftplug doesn't work with x64 dlls.
Bjorn2
Junior Member
Junior Member
Posts: 4
Joined: 2010-03-30, 14:07 UTC

Post by *Bjorn2 »

You are right Ghisler, I did misunderstand it. I have downloaded the plugin, now it works great! Thank you everyone for your help!
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

Two fixes:
- Win2000: WSAAddressToStringA is in ws2_32.dll, not in wship6.dll
- non-blocking connect() broke detection of failed connections and plugin waited forever

http://web.hisoftware.cz/sob/download/sftpplug_src097beta-fix.patch
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I will add them!
Author of Total Commander
https://www.ghisler.com
User avatar
nemeza
Junior Member
Junior Member
Posts: 3
Joined: 2009-05-20, 22:44 UTC
Location: Budapest

Post by *nemeza »

ghisler(Author) wrote:Currently you cannot make this the default, sorry.
This means, in later editions this useful option may be added? ;)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, to what message on what page (of 36) do you refer to?
Author of Total Commander
https://www.ghisler.com
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

2 ghisler(Author): This was the question:
charly_35 wrote:I use this SFTP plugin for transfering files but I don't find any option to always set the transfert in background like the internal FTP. May I miss something ? thks
mf
Bankster - Word of the Year 2009
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, I see - that's something which needs to be changed in Total Commander, not in the plugin. The problem is that users may want different settings for each plugin here, so I cannot simply add a switch to wincmd.ini...
Author of Total Commander
https://www.ghisler.com
Post Reply