Page 1 of 1

Problem connecting to FTPS

Posted: 2011-12-21, 21:56 UTC
by arek1
Hi,

I have problem connecting to ftps using TC for Android and FTP plugin.

In TC on PC I have only:

ftps://**********:990
user name:******
Password:************
SSL/TLS:marked

and everything working OK but on TC on Android it not working. Every time I trying to connect it showing info "TRYB OFFLINE" (what mean "OFFLINE MODE"). Here is my log.txt from .TotalCommander:

2011-12-21 22:01:38 FTP:Pobierz katalog.../
2011-12-21 22:01:57 FTP:refresh list
2011-12-21 22:01:57 FTP:Pobierz katalog.../
2011-12-21 22:02:00 FTP:Pobierz katalog.../Widex na home/
2011-12-21 22:02:00 FTP:Ustalanie adresu serwera...
2011-12-21 22:02:06 FTP:Łączenie...
2011-12-21 22:02:06 FTP:Połączony, oczekiwanie na logowanie...
2011-12-21 22:02:11 FTP:Logowanie...
2011-12-21 22:02:11 FTP:Cert subject: CN=*.home.pl,O=*.home.pl,OU=Domain Control Validated,C=PL
2011-12-21 22:02:11 FTP:Cert issuer: CN=Alpha CA,O=Alpha,OU=Alpha CA
2011-12-21 22:02:11 FTP:Tryb OFFLINE!

To work with this server in Dreamweaver I need to set additional setting like this compare to TC on PC:
FTP over SSL/TLS (implicit encryption) and in More options "Encrypt only command channel"=marked.

My system is Android 3.2.1, TC 1.0 rc 4 nad FTP plugin 1.0 beta v.14

Any help well appreciated.

Best wishes

Posted: 2011-12-22, 14:44 UTC
by ghisler(Author)
Currently the FTP plugin waits 5 seconds for a greeting message from the server. If there is none, TC assumes that it's implicit SSL and starts the SSL negotation. That would be exactly the 5 seconds between 22:02:06 and 22:02:11. The certificate is received, but immediately afterwards the connection is lost.

Unfortunately I have no idea why the connection is lost. Could you create a test account for me on the server? I don't need any write access, just test to login would be fine. Please send me the info to beta at ghisler dot com.

Posted: 2011-12-24, 09:34 UTC
by arek1
I forgot to write I send FTP access data to your beta email.

Posted: 2011-12-27, 13:47 UTC
by ghisler(Author)
Thanks - sorry, I haven't had the time yet to try it.

Posted: 2012-03-18, 20:59 UTC
by geemaan
I have the same problem, any news about this? Thanks.

Posted: 2012-03-19, 13:30 UTC
by ghisler(Author)
Sorry, I don't remember what the problem was. The user who reported it must have contacted me from a different mail account than he used in the forum, I cannot find any messages with his forum mail address.

Posted: 2012-03-19, 13:56 UTC
by geemaan
Thanks for the reply. Would you like me to help you? I could create a test account for you.

Posted: 2012-03-19, 14:11 UTC
by ghisler(Author)
Yes, please contact me by e-mail (beta at ghisler dot com).

Posted: 2014-11-04, 19:38 UTC
by comrade
ghisler(Author) wrote:Currently the FTP plugin waits 5 seconds for a greeting message from the server. If there is none, TC assumes that it's implicit SSL and starts the SSL negotation.
Could we have separate options to let the user configure whether the connection is implicit, explicit AUTH TLS, or explicit AUTH SSL ?

Posted: 2014-11-06, 11:13 UTC
by ghisler(Author)
I will consider it. If I change this now, the connection will suddenly fail for 1000s of users...

Posted: 2014-11-09, 05:23 UTC
by comrade
Thank you. One of the options could be "auto-detect" (set by default), which will do what it does now: wait 5 sec awaiting an SSL handshake message.

Posted: 2014-11-10, 11:01 UTC
by ghisler(Author)
Hmm, I still don't think that this is the problem of the user arek1 - as you can see in his log, TC manages to log into the server and get the certificate, but then the connection suddenly breaks. So impicit vs. explicit isn't the problem.

2comrade
Are you sure that this is really the problem in your case? Can you create a log?

Posted: 2014-11-11, 06:38 UTC
by comrade
ghisler(Author) wrote:2comrade
Are you sure that this is really the problem in your case? Can you create a log?
I don't have a problem. I am just very impatient and tired of waiting for 5 sec every time.

Posted: 2014-12-28, 19:15 UTC
by comrade
As well, TC should at least remember which type of SSL connection it was (implicit vs explicit), so it doesn't rewait the 5 seconds when doing background transfers which require a second connection to the very same server.

Posted: 2014-12-29, 13:55 UTC
by ghisler(Author)
Good idea, I will check whether I can add this.