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
tom*de
Senior Member
Senior Member
Posts: 394
Joined: 2003-02-25, 09:21 UTC

Post by *tom*de »

thanks, it corresponds to keyword in sftpplug.ini:

Code: Select all

filemod=660
added in every section of sftpplug.ini it changes the default to: rw to user, rw to group, no rights to other, fine :)

Where I can find help to sftpplug.ini - keywords:
  • [Entry]
    server=
    user=
    codepage=
    scpfordata=
    pubkeyfile=
    privkeyfile=
    utf8=
    unixlinebreaks=
    fingerprint=
    proxynr=
    filemod=
    ...?
Tom - #81178 - 5 User licence - Klugheit, Gerechtigkeit, Tapferkeit und Mäßigung plus Kooperation.
User avatar
tom*de
Senior Member
Senior Member
Posts: 394
Joined: 2003-02-25, 09:21 UTC

Post by *tom*de »

Code: Select all

dirmod=770
works fine, too to prevent directory access for other. Any other keywords av.?
Tom - #81178 - 5 User licence - Klugheit, Gerechtigkeit, Tapferkeit und Mäßigung plus Kooperation.
sweetsour
Junior Member
Junior Member
Posts: 18
Joined: 2007-10-04, 18:06 UTC

Post by *sweetsour »

Hey,

When DLLs are missing, the SFTP Plugin error message only mentions that libeay32.dll and libssh2.dll are needed.

Please add zlib1.dll to that error message - will save people from a lot of headache. :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately not all distributions of the dlls seem to require zlib1.dll...
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4617
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

ghisler(Author) wrote:Unfortunately not all distributions of the dlls seem to require zlib1.dll...
Which recent distribution of libssh2.dll does not require zlib1.dll?
Gerby
Junior Member
Junior Member
Posts: 93
Joined: 2005-01-07, 16:11 UTC
Location: DE > SH > SE

Post by *Gerby »

[EDIT 2014-03-19 17:00]The following statement occurs not to be right. zlib1.dll is actually needed. See my next post below.[/EDIT]

The one by Günter Knauf runs fine here without zlib:
http://curl.haxx.se/gknw.net/7.34.0/dist-w32/curl-7.34.0-devel-mingw32.zip
http://curl.haxx.se/gknw.net/7.34.0/dist-w64/curl-7.34.0-devel-mingw64.zip
(Not available as current version 7.35.0 yet.)

Actually it is the only distribution which works here (Win 7 x64). The one by Edward LoPinto isn't detected by Secure FTP plugin (additionally needed msvcr120.dll of course included).

Gerby
Last edited by Gerby on 2014-03-19, 16:01 UTC, edited 1 time in total.
User avatar
white
Power Member
Power Member
Posts: 4617
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Gerby wrote:The one by Günter Knauf runs fine here without zlib:
http://curl.haxx.se/gknw.net/7.34.0/dist-w32/curl-7.34.0-devel-mingw32.zip
It doesn't here (Windows XP). I have the same version of curl lib. If I rename zlib1.dll and restart TC and try to connect to a server, I get the missing dlls error message.

Can you check with Process Explorer if zlib1.dll is loaded from some other place? (Run Total Commander, go to \\\Secure FTP, connect to a server, run Process Explorer, click on Find button, search for "zlib")
User avatar
white
Power Member
Power Member
Posts: 4617
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Gerby wrote:Actually it is the only distribution which works here (Win 7 x64). The one by Edward LoPinto isn't detected by Secure FTP plugin (additionally needed msvcr120.dll of course included).
The 32bit version by Edward LoPinto works fine here (Windows XP), even without zlib1.dll.... Edward LoPinto's libssh2.dll seems to be a static build with regards to the zlib compression routines (zlib routines are included in the dll instead of a separate dll). Edward LoPinto's package contains zlib1.dll but it seems it isn't used by any of the dlls. So with this package you need msvcr120.dll instead of zlib1.dll.

Tested: www.confusedbycode.com/curl/curl-7.35.0-win32-fix1.zip/dlls/*
Gerby
Junior Member
Junior Member
Posts: 93
Joined: 2005-01-07, 16:11 UTC
Location: DE > SH > SE

Post by *Gerby »

white wrote:Can you check with Process Explorer if zlib1.dll is loaded from some other place?
Ah, here we go! You're right, white! :wink:
zlib1.dll is installed by Intel's Wifi software. This file is found and used by libssh2.dll in my environment. I checked it with the fileinfo plugin on the Dll Dependency tab.

Learned something new again. 8) Thanks for the hint.
User avatar
white
Power Member
Power Member
Posts: 4617
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

2ghisler(Author)
Is it true that Total Commander only depends on libssh2.dll for the Secure FTP plugin and ssleay32.dll for the internal FTPS function and that other required files (libeay32.dll, zlib1.dll, msvcr120.dll) are dependent files of these dlls?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

SFTP: Yes
FTPS: No, it uses both dlls
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4617
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

ghisler(Author) wrote:SFTP: Yes
FTPS: No, it uses both dlls
Thanks for clearing that up.
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

what about lates heartbleed bug which affects ssl from 1.00 to 1.01f ??

the CURL is still stopped at 1.01f
always latest 32b TC on a WIN10 64b
User avatar
white
Power Member
Power Member
Posts: 4617
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Nigurrath wrote:what about lates heartbleed bug which affects ssl from 1.00 to 1.01f ??

the CURL is still stopped at 1.01f
Try Edward LoPinto's binary files. A link is present on the curl page. Download the zip version and use the dlls from the folder "dlls" inside the zip file. As mentioned above with these dll files you will need msvcr120.dll (included in the package).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Isn't this a server side problem only?

Edit: According to my research, this concerns mainly the server side, except when a manipulated server is accessed. It also does NOT affect SSH/SFTP, only SSL/FTPS when using TLS.
Author of Total Commander
https://www.ghisler.com
Post Reply