FTPS directory list empty

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
maxiec
Junior Member
Junior Member
Posts: 2
Joined: 2020-04-03, 11:08 UTC

FTPS directory list empty

Post by *maxiec »

Hello

I have a problem with some ftps server. Once connected, the ftp directory list is empty. I know this is a problem with the vsftpd server, but I don't have access to it. FileZilla connects to this server without any problems. Please look at the logs below.
TotlaCommander
----------
Using sChannel (Secur32.dll) for SSL/TLS connection.
Connect to: (03.04.2020 12:55:38)
hostname=abc.def.gh
username=XXXXXX
startdir=
abc.def.gh=AAA.BBB.CC.DD
220 (vsFTPd 3.0.2)
AUTH TLS
234 Proceed with negotiation.
Method: TLSv1.2
Cert subject: C=PL, CN=*.def.gh, E=admin@
Cert issuer: C=PL, O=Unizeto Technologies S.A., OU=Certum Certification Authority, CN=Certum Domain Validation CA SHA2
Chain verification: Subject: C=PL, O=Unizeto Technologies S.A., OU=Certum Certification Authority, CN=Certum Domain Validation CA SHA2
Chain verification: Subject: C=PL, O=Unizeto Technologies S.A., OU=Certum Certification Authority, CN=Certum Trusted Network CA
Chain verification (2): OK
USER XXXXXX
331 Please specify the password.
PASS ***********
230 Login successful.
SYST
215 UNIX Type: L8
FEAT
211-Features:
AUTH TLS
EPRT
EPSV
MDTM
PASV
PBSZ
PROT
REST STREAM
SIZE
TVFS
UTF8
211 End
HELP SITE
214-The following commands are recognized.
ABOR ACCT ALLO APPE CDUP CWD DELE EPRT EPSV FEAT HELP LIST MDTM MKD
MODE NLST NOOP OPTS PASS PASV PORT PWD QUIT REIN REST RETR RMD RNFR
RNTO SITE SIZE SMNT STAT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD
XPWD XRMD
214 Help OK.
PBSZ 0
200 PBSZ set to 0.
PROT P
200 PROT now Private.
OPTS UTF8 ON
200 Always in UTF8 mode.
Connect ok!
type i
200 Switching to Binary mode.
PWD
257 "/"
Get directory
TYPE A
200 Switching to ASCII mode.
PASV
227 Entering Passive Mode (10,100,100,29,39,109).
Server reports local IP -> Redirect to: AAA.BBB.CC.DD
LIST
150 Here comes the directory listing.
Download
Waiting for server...
522 SSL connection failed; session reuse required: see require_ssl_reuse option in vsftpd.conf man page
pasv
227 Entering Passive Mode (10,100,100,29,39,108).
Cancel pressed!
LIST
OFFLINE4, no reply
Cancel pressed!
FileZilla
2020-04-03 12:58:28 7472 1 Status: Resolving address of ftp.XXXX.pl
2020-04-03 12:58:28 7472 1 Status: Connecting to AAA.BBB.CC.DD:21...
2020-04-03 12:58:28 7472 1 Status: Connection established, waiting for welcome message...
2020-04-03 12:58:28 7472 1 Response: 220 (vsFTPd 3.0.2)
2020-04-03 12:58:28 7472 1 Command: AUTH TLS
2020-04-03 12:58:28 7472 1 Response: 234 Proceed with negotiation.
2020-04-03 12:58:28 7472 1 Status: Initializing TLS...
2020-04-03 12:58:28 7472 1 Status: Verifying certificate...
2020-04-03 12:58:28 7472 1 Status: TLS connection established.
2020-04-03 12:58:28 7472 1 Command: USER XXXXXX
2020-04-03 12:58:28 7472 1 Response: 331 Please specify the password.
2020-04-03 12:58:28 7472 1 Command: PASS *********
2020-04-03 12:58:28 7472 1 Response: 230 Login successful.
2020-04-03 12:58:28 7472 1 Command: SYST
2020-04-03 12:58:28 7472 1 Response: 215 UNIX Type: L8
2020-04-03 12:58:28 7472 1 Command: FEAT
2020-04-03 12:58:28 7472 1 Response: 211-Features:
2020-04-03 12:58:28 7472 1 Response: AUTH TLS
2020-04-03 12:58:28 7472 1 Response: EPRT
2020-04-03 12:58:28 7472 1 Response: EPSV
2020-04-03 12:58:28 7472 1 Response: MDTM
2020-04-03 12:58:28 7472 1 Response: PASV
2020-04-03 12:58:28 7472 1 Response: PBSZ
2020-04-03 12:58:28 7472 1 Response: PROT
2020-04-03 12:58:28 7472 1 Response: REST STREAM
2020-04-03 12:58:28 7472 1 Response: SIZE
2020-04-03 12:58:28 7472 1 Response: TVFS
2020-04-03 12:58:28 7472 1 Response: UTF8
2020-04-03 12:58:28 7472 1 Response: 211 End
2020-04-03 12:58:28 7472 1 Command: OPTS UTF8 ON
2020-04-03 12:58:28 7472 1 Response: 200 Always in UTF8 mode.
2020-04-03 12:58:28 7472 1 Command: PBSZ 0
2020-04-03 12:58:28 7472 1 Response: 200 PBSZ set to 0.
2020-04-03 12:58:28 7472 1 Command: PROT P
2020-04-03 12:58:28 7472 1 Response: 200 PROT now Private.
2020-04-03 12:58:28 7472 1 Status: Logged in
2020-04-03 12:58:28 7472 1 Status: Retrieving directory listing...
2020-04-03 12:58:28 7472 1 Command: PWD
2020-04-03 12:58:28 7472 1 Response: 257 "/"
2020-04-03 12:58:28 7472 1 Command: TYPE I
2020-04-03 12:58:29 7472 1 Response: 200 Switching to Binary mode.
2020-04-03 12:58:29 7472 1 Command: PASV
2020-04-03 12:58:29 7472 1 Response: 227 Entering Passive Mode (10,100,100,29,39,115).
2020-04-03 12:58:29 7472 1 Status: Server sent passive reply with unroutable address. Using server address instead.
2020-04-03 12:58:29 7472 1 Command: LIST
2020-04-03 12:58:29 7472 1 Response: 150 Here comes the directory listing.
2020-04-03 12:58:29 7472 1 Response: 226 Directory send OK.
2020-04-03 12:58:29 7472 1 Status: Directory listing of "/" successful
2020-04-03 12:58:39 7472 1 Status: Retrieving directory listing of "/XXX"...
2020-04-03 12:58:39 7472 1 Command: CWD /XXX
2020-04-03 12:58:39 7472 1 Response: 250 Directory successfully changed.
2020-04-03 12:58:39 7472 1 Command: PWD
2020-04-03 12:58:39 7472 1 Response: 257 "/XXX"
2020-04-03 12:58:39 7472 1 Command: PASV
2020-04-03 12:58:39 7472 1 Response: 227 Entering Passive Mode (10,100,100,29,39,113).
2020-04-03 12:58:39 7472 1 Status: Server sent passive reply with unroutable address. Using server address instead.
2020-04-03 12:58:39 7472 1 Command: LIST
2020-04-03 12:58:39 7472 1 Response: 150 Here comes the directory listing.
2020-04-03 12:58:39 7472 1 Response: 226 Directory send OK.
2020-04-03 12:58:39 7472 1 Status: Directory listing of "/XXX" successful
2020-04-03 12:58:55 7472 1 Status: Disconnected from server
maxiec
Junior Member
Junior Member
Posts: 2
Joined: 2020-04-03, 11:08 UTC

Re: FTPS directory list empty

Post by *maxiec »

Ech, solution on main page:

https://www.ghisler.com/openssl/

Works now :)
Post Reply