New SFTP plugin available now

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

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
Mikefield
Power Member
Power Member
Posts: 622
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield » 2017-03-23, 15:18 UTC

Thanks Christian for the new beta. I've tested it, same (no) information in logfile using TC 64bit.
But additionally tested with TC 32bit, there is a
"SCP download error: CHANNEL_REQUEST_DENIED (22)"
and a
"SCP upload error: SCP_PROTOCOL (28 )"
Error message.

Today I got another download problem, there was following error message:
"Download read error: SFTP_PROTOCOL (31)" (TC 32bit)
But with winscp download was working.

Could you please check, why 64bit and 32bit have different logfile information?
Since Win8.1 I use TC 64bit only.

mf
Bankster - Word of the Year 2009

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

Post by *ghisler(Author) » 2017-03-27, 12:30 UTC

It looks like the server (or in your case, the balabit box) disallowed the SCP calls (request denied). Does the balabit box create a log?
Could you please check, why 64bit and 32bit have different logfile information?
Since Win8.1 I use TC 64bit only.
Sorry, it looks like I included the old wfx64 in the beta.
Author of Total Commander
http://www.ghisler.com

AndrewCreator
Member
Member
Posts: 122
Joined: 2011-10-10, 23:25 UTC

Post by *AndrewCreator » 2017-03-31, 05:36 UTC

2ghisler(Author)
Will 1.4.3 work with libssh2 from curl.haxx.se?

Meanwhile, thank you for fixing dll loading problem in 1.4.2. Version 1.4.1 32-bit was not loading zlib1.dll from plugin dir, should place it in TC dir. Btw, 1.4.1 64-bit was loading zlib1.dll from plugin\64 dir.

User avatar
Mikefield
Power Member
Power Member
Posts: 622
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield » 2017-03-31, 18:24 UTC

Did you just read this post on page 69?
https://www.ghisler.ch/board/viewtopic.php?p=325916#325916

mf
Bankster - Word of the Year 2009

AndrewCreator
Member
Member
Posts: 122
Joined: 2011-10-10, 23:25 UTC

Post by *AndrewCreator » 2017-04-01, 14:59 UTC

2Mikefield
Sure, that's why I am asking whether the support for the old libssh2 will be added in a release. Beta does not work with libssh2 from curl.haxx.se, it shows the standard dialog that you should put libraries in plugin or TC dir.

UPD
Beta is not working with libssh2 from curl.haxx.se in 32-bit version only. 64-bit version is OK. Cause: zlib1.dll is not loaded from plugin dir. Very similar to 1.4.1 bug.

Code: Select all

18:42:31,9833668 totalcmd.exe   10992 Load Image D:\TC\plugins\sftp\libeay32.dll    SUCCESS Image Base: 0x63000000, Image Size: 0x1a9000
18:42:31,9836574 totalcmd.exe   10992 Load Image D:\TC\plugins\sftp\libssh2.dll     SUCCESS Image Base: 0x6ea80000, Image Size: 0x32000
18:43:06,5534560 totalcmd64.exe  3848 Load Image D:\TC\plugins\sftp\64\zlib1.dll    SUCCESS Image Base: 0x62e80000, Image Size: 0x1e000
18:43:06,5538867 totalcmd64.exe  3848 Load Image D:\TC\plugins\sftp\64\libeay32.dll SUCCESS Image Base: 0x63000000, Image Size: 0x16c000
18:43:06,5542937 totalcmd64.exe  3848 Load Image D:\TC\plugins\sftp\64\libssh2.dll  SUCCESS Image Base: 0x6ea80000, Image Size: 0x2b000

User avatar
Mikefield
Power Member
Power Member
Posts: 622
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield » 2017-04-02, 11:40 UTC

Why did you need the old libssh2 from curl.haxx.se?
Did you use Windows XP yet?

mf
Bankster - Word of the Year 2009

AndrewCreator
Member
Member
Posts: 122
Joined: 2011-10-10, 23:25 UTC

Post by *AndrewCreator » 2017-04-02, 12:00 UTC

Windows Server 2003.

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

Post by *ghisler(Author) » 2017-04-03, 13:05 UTC

2AndrewCreator
Yes, the old dlls should still work. But you are right that zlib1.dll isn't found in plugin dir - I will fix it.
Author of Total Commander
http://www.ghisler.com

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3139
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp » 2017-04-03, 14:09 UTC

AndrewCreator wrote:Windows Server 2003.
No security patches for this OS since 2015 and known big security holes.
Windows 10 Home x64 October 2018 Update
Version 1809 (OS Build 17763.194)
TC 9.21a x64 and x86, Everything 1.4.1.921 (x64)

AndrewCreator
Member
Member
Posts: 122
Joined: 2011-10-10, 23:25 UTC

Post by *AndrewCreator » 2017-04-04, 12:06 UTC

2ghisler(Author), nice, thank you!

2Horst.Epp, yep, it is used standalone in my private virtual network without any access to other networks.

tmcdos
Junior Member
Junior Member
Posts: 25
Joined: 2006-05-22, 18:29 UTC
Location: Sofia, Bulgaria
Contact:

Problem with showing symlinks

Post by *tmcdos » 2017-05-08, 18:15 UTC

One of my clients provided me an SSH access to one of its servers hosted at BraveHost. I have downloaded the latest 1.4.3beta-3 version of the plugin and tried to setup a connection. When I try to connect, I receive an error:

Error: could not initialize SFTP session!
Unable to request SFTP subsystem

So I put ticks on both checkboxes for using SCP - now I am able to connect but some symlinks are shown as regular files and so I am unable to CHDIR into those symlinked folders. WinSCP properly recognizes the problematic symlinks.

Image: http://test.ivogelov.com/working.png
Image: http://test.ivogelov.com/not_working.png
Image: http://test.ivogelov.com/win_scp.png

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

Post by *ghisler(Author) » 2017-05-11, 09:09 UTC

I can confirm that symlinks aren't recognized in SCP only mode. I will try to find a solution. The ~ link is added by the plugin to go quickly to the user's home folder, it's not provided by the server.
Author of Total Commander
http://www.ghisler.com

sevec
Junior Member
Junior Member
Posts: 2
Joined: 2016-05-19, 05:34 UTC

Post by *sevec » 2017-06-15, 09:24 UTC

Hello, when I upload file to server (gnu linux), it gets 644 access permissions. How can I instruct SFTP plugin to set the permissions of the uploaded file to 660? Thank you.

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

Post by *ghisler(Author) » 2017-06-15, 09:39 UTC

This should work via connection settings (Alt+Enter), you can set the permissions for files and for folders separately.
Author of Total Commander
http://www.ghisler.com

Graphity
Junior Member
Junior Member
Posts: 6
Joined: 2005-03-25, 11:10 UTC
Location: München
Contact:

Problem: fatal: no matching mac found

Post by *Graphity » 2017-09-11, 09:19 UTC

When I try to connect to one of my Raspberry Pis, I get the following error in auth log of the Pi:
fatal: no matching mac found: client hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160@openssh.com server hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com [preauth]
I'm using secure ftp plugin version 1.4.2 beta 1 and have copied three DLLs from curl-7.40.0-devel-mingw64.7z to plugin's directory.

I don't find a log file of total commander to provide more information about this on client side.
Of all the things I've lost, I miss my mind the most

Post Reply