Total Commander FTPS error=10050 on TLS only servers

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

darekk
New Member
New Member
Posts: 1
Joined: 2017-01-30, 11:47 UTC
Location: Warsaw, Poland
Contact:

Post by *darekk »

This question has been posted a lot time ago, but maybe others would find this answer useful. Try to delete:
libeay32.dll and
ssleay32.dll
files if you have pasted them manually into totalcmd directory, or additionally installed somehow. These dll files were needed for SSL/TLS:
plugins.htm (SFTP 1.4.2 2015/09/06)
but new versions of Total Commander seem to have SSL/TLS built in.

I got this error recently. The reason was probably switching to TLS 1.2 by the provider or eventually changing the plan by me.

The messages were:
ftp
Connect failed
and second window below:
Connect
...
220-
220-No anonymous logins accepted
220-... (provider name here)
220-Local time is now 03:32. Server port. 21.
220-This is a privete system - No anonymous logins
220-You will be disconnected after 5 minutes if inactivity.
AUTH TLS
234 AUTH TLS OK.
SSL_read returned-1, SSL_get_error=1
There was also FTPS error=10050 or similar, but I can't reproduce this today.

Deleting these dll files helped. First time a message box appeared ending with something like this:
Always trust certificate in future sessions.

Now Total Commander displays:
Connect
...
220-
220-No anonymous logins accepted.
220-... (provider name here)
220-Local time is now 04:09. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 5 minutes of inactivity.
AUTH TLS
234 AUTH TLS OK.
Method: TLSv1.2
... (many other lines)
SSL has worked fine before. And other, second webpage still has worked. The only thing is, that
Use passive mode for transfers (like a WWW browser)
must be checked if SSL/TLS is checked, otherwise Total Commanders gets blocked.

In case of first page displaying SSL_get_error=1 and error=10050 or similar one until yesterday Use passive mode is not important.
Symlink
Junior Member
Junior Member
Posts: 18
Joined: 2005-01-21, 14:55 UTC
Location: .at

Post by *Symlink »

I seem to be having a similiar problem, using Totcmd 9.0a. See the ftp log:

----------
SSL: Libraries loaded OK! C:\WINDOWS\system32\LIBEAY32.dll
Connect to: (20.07.2017 00:48:44)
hostname=bikekitchen.net
username=62-bikekitchen
startdir=
bikekitchen.net=37.61.206.253
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 00:48. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
AUTH TLS
234 AUTH TLS OK.
SSL_read returned -1, SSL_get_error=1


I dont have any influence over the ftp server.
What could be wrong?
Thanks!
Best regards,
S.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can either delete the openssl dlls (if you use Windows Vista, 7 or newer), or install newer dlls. TC9 no longer needs these dlls on Windows Vista, 7 or newer, it uses the built-in Windows SSL functions.
Author of Total Commander
https://www.ghisler.com
Symlink
Junior Member
Junior Member
Posts: 18
Joined: 2005-01-21, 14:55 UTC
Location: .at

Post by *Symlink »

Thank you very much for your helpful answer! - updating the OpenSSL version helped and now its working! : )
(I need OpenSSL because I am still using *ashamed* WXP)

Regards,
S.
Post Reply