S
S
slruslan2014-09-06 18:55:36
FTP
slruslan, 2014-09-06 18:55:36

Why is the FTP connection terminated at the PASV command step?

Good day!
After switching to another operating system, there was a problem with FTP connections. It lies in the fact that when I try to connect to any of the servers, the connection is closed by a timeout at the PASV command stage.
Here is the connection log to make it clearer:

-> USER p16936_123  
331 Password required for p16936_123
-> PASS *HIDDEN*
230 User p16936_123 logged in.
-> TYPE A  
200 Type set to A
-> MODE S  
200 Mode set to S
-> STRU F  
200 Structure set to F
-> PWD  
257 "/" is the current directory
Connected
-> CWD /  
250 CWD command successful
-> PASV
Failure retrieving contents of directory /

This is where it all ends.
Never encountered such problems before. There are no problems with SFTP either. Only with FTP.
I would be grateful for any help in solving this problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cool Admin, 2014-09-07
@ifaustrue

What operating system did you change from? Or do you think the most important piece of information is not needed?
An error at this stage means that the client cannot establish a connection in passive mode - this is one that requires the following conditions to be met to open it:
1. The server has a white address (and it is also specified in the config) and the firewall does not block the necessary ( specified in the config) ports.
OR
2. The server is behind NAT and the necessary addresses are configured there and the white address is specified in the config, and the firewall does not block forwarded ports.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question