Problem connecting to FTPS

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
arek1
Junior Member
Junior Member
Posts: 11
Joined: 2009-10-09, 13:36 UTC

Problem connecting to FTPS

Post 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
ArekS
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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.
Author of Total Commander
https://www.ghisler.com
arek1
Junior Member
Junior Member
Posts: 11
Joined: 2009-10-09, 13:36 UTC

Post by *arek1 »

I forgot to write I send FTP access data to your beta email.
ArekS
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks - sorry, I haven't had the time yet to try it.
Author of Total Commander
https://www.ghisler.com
User avatar
geemaan
Junior Member
Junior Member
Posts: 5
Joined: 2012-03-18, 20:56 UTC

Post by *geemaan »

I have the same problem, any news about this? Thanks.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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.
Author of Total Commander
https://www.ghisler.com
User avatar
geemaan
Junior Member
Junior Member
Posts: 5
Joined: 2012-03-18, 20:56 UTC

Post by *geemaan »

Thanks for the reply. Would you like me to help you? I could create a test account for you.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, please contact me by e-mail (beta at ghisler dot com).
Author of Total Commander
https://www.ghisler.com
User avatar
comrade
Junior Member
Junior Member
Posts: 12
Joined: 2014-10-26, 03:34 UTC
Location: Russian Federation

Post 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 ?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will consider it. If I change this now, the connection will suddenly fail for 1000s of users...
Author of Total Commander
https://www.ghisler.com
User avatar
comrade
Junior Member
Junior Member
Posts: 12
Joined: 2014-10-26, 03:34 UTC
Location: Russian Federation

Post 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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post 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?
Author of Total Commander
https://www.ghisler.com
User avatar
comrade
Junior Member
Junior Member
Posts: 12
Joined: 2014-10-26, 03:34 UTC
Location: Russian Federation

Post 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.
User avatar
comrade
Junior Member
Junior Member
Posts: 12
Joined: 2014-10-26, 03:34 UTC
Location: Russian Federation

Post 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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Good idea, I will check whether I can add this.
Author of Total Commander
https://www.ghisler.com
Post Reply