Empty root directory when logged in through FTP over TLS
Moderator: Project members
-
- 500 Command not understood
- Posts: 5
- Joined: 2018-12-27 06:57
- First name: James
- Last name: Chim
Empty root directory when logged in through FTP over TLS
Dear support,
As said, I have several servers failed to list the directory only when connected over TLS.
Would you please provide some workarounds to troubleshoot the issue?
Best regards,
James
As said, I have several servers failed to list the directory only when connected over TLS.
Would you please provide some workarounds to troubleshoot the issue?
Best regards,
James
Re: Empty root directory when logged in through FTP over TLS
What does it say in the message log?
-
- 500 Command not understood
- Posts: 5
- Joined: 2018-12-27 06:57
- First name: James
- Last name: Chim
Re: Empty root directory when logged in through FTP over TLS
002838)12/27/2018 14:47:49 PM - (not logged in) (*.*.*.*)> Connected on port 990, sending welcome message...
(002838)12/27/2018 14:47:49 PM - (not logged in) (*.*.*.*)> 220 SSPFTP
(002838)12/27/2018 14:47:50 PM - (not logged in) (*.*.*.*)> TLS connection established
(002838)12/27/2018 14:47:50 PM - (not logged in) (*.*.*.*)> USER sspemftp
(002838)12/27/2018 14:47:50 PM - (not logged in) (*.*.*.*)> 331 Password required for sspemftp
(002838)12/27/2018 14:47:51 PM - (not logged in) (*.*.*.*)> PASS ********
(002838)12/27/2018 14:47:51 PM - sspemftp (*.*.*.*)> 230 Logged on
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> SYST
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> 215 UNIX emulated by FileZilla
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> FEAT
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> 211-Features:
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> MDTM
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> REST STREAM
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> SIZE
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> MLST type*;size*;modify*;
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> MLSD
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> AUTH SSL
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> AUTH TLS
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> PROT
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> PBSZ
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> UTF8
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> CLNT
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> MFMT
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> EPSV
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> EPRT
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> 211 End
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> PBSZ 0
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> 200 PBSZ=0
(002838)12/27/2018 14:47:52 PM - ftpuser (*.*.*.*)> PROT P
(002838)12/27/2018 14:47:52 PM - ftpuser (*.*.*.*)> 200 Protection level set to P
(002838)12/27/2018 14:47:52 PM - ftpuser (*.*.*.*)> PWD
(002838)12/27/2018 14:47:52 PM - ftpuser (*.*.*.*)> 257 "/" is current directory.
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> TYPE A
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> 200 Type set to A
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> PASV
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> 227 Entering Passive Mode (*,*,*,*,228,182)
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> MLSD
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> 150 Opening data channel for directory listing of "/"
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> TLS connection for data connection established
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> 226 Successfully transferred "/"
(002838)12/27/2018 14:47:49 PM - (not logged in) (*.*.*.*)> 220 SSPFTP
(002838)12/27/2018 14:47:50 PM - (not logged in) (*.*.*.*)> TLS connection established
(002838)12/27/2018 14:47:50 PM - (not logged in) (*.*.*.*)> USER sspemftp
(002838)12/27/2018 14:47:50 PM - (not logged in) (*.*.*.*)> 331 Password required for sspemftp
(002838)12/27/2018 14:47:51 PM - (not logged in) (*.*.*.*)> PASS ********
(002838)12/27/2018 14:47:51 PM - sspemftp (*.*.*.*)> 230 Logged on
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> SYST
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> 215 UNIX emulated by FileZilla
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> FEAT
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> 211-Features:
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> MDTM
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> REST STREAM
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> SIZE
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> MLST type*;size*;modify*;
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> MLSD
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> AUTH SSL
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> AUTH TLS
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> PROT
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> PBSZ
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> UTF8
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> CLNT
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> MFMT
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> EPSV
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> EPRT
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> 211 End
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> PBSZ 0
(002838)12/27/2018 14:47:51 PM - ftpuser (*.*.*.*)> 200 PBSZ=0
(002838)12/27/2018 14:47:52 PM - ftpuser (*.*.*.*)> PROT P
(002838)12/27/2018 14:47:52 PM - ftpuser (*.*.*.*)> 200 Protection level set to P
(002838)12/27/2018 14:47:52 PM - ftpuser (*.*.*.*)> PWD
(002838)12/27/2018 14:47:52 PM - ftpuser (*.*.*.*)> 257 "/" is current directory.
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> TYPE A
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> 200 Type set to A
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> PASV
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> 227 Entering Passive Mode (*,*,*,*,228,182)
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> MLSD
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> 150 Opening data channel for directory listing of "/"
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> TLS connection for data connection established
(002838)12/27/2018 14:47:53 PM - ftpuser (*.*.*.*)> 226 Successfully transferred "/"
-
- 500 Command not understood
- Posts: 5
- Joined: 2018-12-27 06:57
- First name: James
- Last name: Chim
Re: Empty root directory when logged in through FTP over TLS
Everything seems normal from the server client dialogue screen.
I try to compare it with another client that does not have issue.
Contents are exactly the same.
I try to compare it with another client that does not have issue.
Contents are exactly the same.
Re: Empty root directory when logged in through FTP over TLS
Which version of FileZilla Server are you using?
Which client software (product and version) are you using?
Which client software (product and version) are you using?
-
- 500 Command not understood
- Posts: 5
- Joined: 2018-12-27 06:57
- First name: James
- Last name: Chim
Re: Empty root directory when logged in through FTP over TLS
Status: Connecting to *.*.*.*:990...
Status: Connection established, initializing TLS...
Status: Verifying certificate...
Status: TLS connection established, waiting for welcome message...
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (*,*,*,*,228,220)
Command: MLSD
Response: 150 Opening data channel for directory listing of "/"
Error: GnuTLS error -110: The TLS connection was non-properly terminated.
Status: Server did not properly shut down TLS connection
Error: Transfer connection interrupted: ECONNABORTED - Connection aborted
Response: 226 Successfully transferred "/"
Error: Failed to retrieve directory listing
Status: Disconnected from server
Status: Connecting to *.*.*.*:990...
Status: Connection established, initializing TLS...
Status: Verifying certificate...
Status: TLS connection established, waiting for welcome message...
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (*,*,*,*,229,145)
Command: MLSD
Response: 150 Opening data channel for directory listing of "/"
Error: GnuTLS error -110: The TLS connection was non-properly terminated.
Status: Server did not properly shut down TLS connection
Error: Transfer connection interrupted: ECONNABORTED - Connection aborted
Response: 226 Successfully transferred "/"
Error: Failed to retrieve directory listing
Status: Connection established, initializing TLS...
Status: Verifying certificate...
Status: TLS connection established, waiting for welcome message...
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (*,*,*,*,228,220)
Command: MLSD
Response: 150 Opening data channel for directory listing of "/"
Error: GnuTLS error -110: The TLS connection was non-properly terminated.
Status: Server did not properly shut down TLS connection
Error: Transfer connection interrupted: ECONNABORTED - Connection aborted
Response: 226 Successfully transferred "/"
Error: Failed to retrieve directory listing
Status: Disconnected from server
Status: Connecting to *.*.*.*:990...
Status: Connection established, initializing TLS...
Status: Verifying certificate...
Status: TLS connection established, waiting for welcome message...
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (*,*,*,*,229,145)
Command: MLSD
Response: 150 Opening data channel for directory listing of "/"
Error: GnuTLS error -110: The TLS connection was non-properly terminated.
Status: Server did not properly shut down TLS connection
Error: Transfer connection interrupted: ECONNABORTED - Connection aborted
Response: 226 Successfully transferred "/"
Error: Failed to retrieve directory listing
Last edited by james.chim on 2018-12-27 10:04, edited 1 time in total.
-
- 500 Command not understood
- Posts: 5
- Joined: 2018-12-27 06:57
- First name: James
- Last name: Chim
Re: Empty root directory when logged in through FTP over TLS
Log from client side.
Client ver.: 3.39.0
Server ver.: 0.9.60
Client ver.: 3.39.0
Server ver.: 0.9.60
Re: Empty root directory when logged in through FTP over TLS
Looks like a firewall or NAT router interfering with the connection. If you look at the network traffic server-side you should see a TLS alert followed by a FIN or RST on the data connection. If you look at the network traffic client-side either the alert is missing, or the FIN/RST.