Secure FTP help

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Xenophon
Junior Member
Junior Member
Posts: 9
Joined: 2010-12-31, 13:16 UTC

Secure FTP help

Post by *Xenophon »

Hello,

I need some help with this sftp plugin. Could anybody please explain to me how I can install it and get it to work?
I use the latest TC with windows 7 x64.
I tried just about everything I could find on the forums and the FAQ's. But clearly I'm doing something wrong.
So far I tried: curl-7.22.0-devel-mingw32, openssl+ssh64, sftpplug, sftpplug_src11 and sftpplug11 but no luck. I coppied and pasted all kind of combinations in /plugins/wfx/sftpplug and main dir but nothing. In configuration=>options=>plugins=>WFX=>configure I see Secure FTP installed. I coppied the .dll's.
Then I want to setup a new FTP connection, check the SSL/TLS checkbox and I get an error message: OpenSSL library not found! To use SLL connections, please download ....etc.

I have tried for about 3 hours but it's not happening.Finally I installed Filezilla, never used this program before, took me 30 seconds and I was up and running.
But I don't like to have to use a second program while another I have allready installed should be doing the same thing.

Thank you.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: Secure FTP help

Post by *karlchen »

Hello, Xenophon.
I need some help with this sftp plugin.
From what you write later, the answer seems to be: no, you not need the SFTP at all, because you try to use FTPS instead. :wink:
I use the latest TC with windows 7 x64.
Does this translate to
+ the latest T.C. release version, i.e. Total Commander 7.56a (32-bit) or
+ the latest T.C. beta version, i.e. Total Commander 8.0 beta3?
+ => and if T.C. 8.0ß3, the 32-bit version or the 64-bit version?
But clearly I'm doing something wrong.
Confirmed. As a lot of people, you mixup SFTP, i.e. FTP tunneled over SSH, with FTPS, i.e. FTPS secured by SSL.
Then I want to setup a new FTP connection, check the SSL/TLS checkbox and I get an error message: OpenSSL library not found!
As stated above. First you install the SFTP plugin. Next you try to configure FTPS.
This won't work. FTPS does not use the SFTP plugin at all.

First you should determine beyond doubt which of the two you really need:
+ SFTP, i.e. FTP tunneled over SSH, or
+ FTPS, i.e. FTP secured by SSL

Next you will have to proceed accordingly.

The instructions for Christian's SFTP plugin can be found here: New SFTP plugin available now
Depending on the actual version of T.C. which you are using, v7.56a vs. v8.0ß3 32-bit vs v8.0ß3 64-bit, you may have to get the latest SFTP plugin version here first: 64-bit plugins (download list) =>
ghisler(Author) wrote:SFTP (by myself) src and 64-bit OpenSSL+SSH dlls needed by the plugin
Once installed and configured correctly, SFTP connections can be added, modified, delete and used via Network Neighbourhood in Total Commander.

In case you really have to use FTPS instead, you will need the appropriate version of a particular SSL library file. The download file mentioned above and offered by Christian himself, 64-bit OpenSSL+SSH dlls, might hold the appropriate file as well. I cannot really tell, because no FTP server which permits FTP over SSL is available to me. So I have never ever tried FTPS.
But certainly someone else in this forum will have done so and be willing to provide the needed details. :)

HTH,
Karl
Xenophon
Junior Member
Junior Member
Posts: 9
Joined: 2010-12-31, 13:16 UTC

Post by *Xenophon »

Thank you karlchen for your quick and very clear reply!

1. With latest TC I mean Total Commander 7.56a (32 bit).

Should I try beta3 64 bit instead?

2. I need this connection for school and the enclosed settings manual they supply says "explicit FTP over TLS". As I understand from wikipedia this means FTPS? :oops:
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Xenophon.

As the Total Commander homepage states, too, it is recommended to use the T.C. 7.56a version for any kind of productive and everyday work. So I would recommend doing so, too.

As the manual talks about TLS, they are talking about FTPS. T.C. 7.56a should be able to establish this, after copying the needed extra DLL into the T.C. programme folder. FTPS connections can be configured inside the normal FTP connection dialogues of T.C.

HTH,
Karl
Xenophon
Junior Member
Junior Member
Posts: 9
Joined: 2010-12-31, 13:16 UTC

Post by *Xenophon »

Hello karlchen,

By T.C. programme folder you mean c:\totalcmd ? I copied the DLL's from openssl+ssh64 to that folder but that's not working.
Xenophon
Junior Member
Junior Member
Posts: 9
Joined: 2010-12-31, 13:16 UTC

Post by *Xenophon »

Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

If you use 32-bit TC 7.56a, you can't use 64-bit dlls. Get libeay32.dll and libssl32.dll from http://www.gknw.net/mirror/curl/win32/curl-7.22.0-devel-mingw32.zip, put them into TC's directory and it will work.
Xenophon
Junior Member
Junior Member
Posts: 9
Joined: 2010-12-31, 13:16 UTC

Post by *Xenophon »

Thank you very, very much Sob. That's the one. So close, yet so far away.
It's working now!!
:D
Post Reply