FTP connection issue.
Posted: 2023-03-24 06:34
Hello,
As we connect through FTP we are getting the below error, but SFTP is working.
Server side:
<Date> Info [Type] Message
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Response] 220-FileZilla Pro Enterprise Server 1.6.7
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Response] 220-Please visit https://filezilla-project.org/
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Response] 220 Welcome to Montfort FTP`
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Command] AUTH TLS
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Response] 234 Using authentication type TLS.
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Command] USER TestUser
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Response] 331 Please, specify the password.
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 [Command] PASS ****
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Response] 230 Login successful.
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Command] PWD
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Response] 257 "/" is current directory.
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Command] TYPE I
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Response] 200 Type set to I
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Command] PASV
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Response] 227 Entering Passive Mode (4,224,83,230,215,141)
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Command] MLSD
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Response] 150 About to start data transfer.
<23-03-2023 16:58:30> FTP Session 8 5.192.164.217 TestUser [Error] GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
<23-03-2023 16:58:30> FTP Session 8 5.192.164.217 TestUser [Status] Client did not properly shut down TLS connection
<23-03-2023 16:58:30> FTP Session 8 5.192.164.217 TestUser [Error] Control channel closed with error from source 0. Reason: ECONNABORTED - Connection aborted.
Client Side:
Status: Connecting to 4.224.83.230:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: TLS connection established.
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 (4,224,83,230,200,185)
Command: MLSD
Response: 150 About to start data transfer.
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
the server is on Azure. Could you please guide us here.
As we connect through FTP we are getting the below error, but SFTP is working.
Server side:
<Date> Info [Type] Message
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Response] 220-FileZilla Pro Enterprise Server 1.6.7
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Response] 220-Please visit https://filezilla-project.org/
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Response] 220 Welcome to Montfort FTP`
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Command] AUTH TLS
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Response] 234 Using authentication type TLS.
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Command] USER TestUser
<23-03-2023 16:58:09> FTP Session 8 5.192.164.217 [Response] 331 Please, specify the password.
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 [Command] PASS ****
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Response] 230 Login successful.
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Command] PWD
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Response] 257 "/" is current directory.
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Command] TYPE I
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Response] 200 Type set to I
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Command] PASV
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Response] 227 Entering Passive Mode (4,224,83,230,215,141)
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Command] MLSD
<23-03-2023 16:58:10> FTP Session 8 5.192.164.217 TestUser [Response] 150 About to start data transfer.
<23-03-2023 16:58:30> FTP Session 8 5.192.164.217 TestUser [Error] GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
<23-03-2023 16:58:30> FTP Session 8 5.192.164.217 TestUser [Status] Client did not properly shut down TLS connection
<23-03-2023 16:58:30> FTP Session 8 5.192.164.217 TestUser [Error] Control channel closed with error from source 0. Reason: ECONNABORTED - Connection aborted.
Client Side:
Status: Connecting to 4.224.83.230:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: TLS connection established.
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 (4,224,83,230,200,185)
Command: MLSD
Response: 150 About to start data transfer.
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
the server is on Azure. Could you please guide us here.