GUI client ftp application not connected with server
Hi Friends.
I have configure ftp server(vsftpd)in my server(RedHat Enterprise 4 AS) and try to connect from GUI ftp client application. But it gives following error message. I used FileZilla to capture following output ------------------------------------------------------------ Status: Connecting to 10.10.41.223:21... Status: Connection established, waiting for welcome message... Response: 220 (vsFTPd 2.0.1) Command: USER dhaj Response: 331 Please specify the password. Command: PASS ****** Response: 230 Login successful. Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/home/dhaj" Command: TYPE I Response: 200 Switching to Binary mode. Command: PASV Response: 227 Entering Passive Mode (10,10,41,223,223,42) Command: LIST Error: Connection timed out Error: Failed to retrieve directory listing ----------------------------------------------------------------- when i connect to server through normal way ( using command prompt to ftp) it works without problem. Please help me regarding this.. Thanks & Regards Dhananjaya Amarakoon |
FTP communications runs in two ways Active and Passive.
Active is the old way with a single two way connection and is way the ftp command works. Passive works slightly differently. When the LIST command is sent requesting a list of files in the current directory instead of replying with the results in the same connection a new connection is made from the server back to the client. Most firewalls are FTP passive aware but common mistakes it to restrict ALL incoming NEW connections which kills the FTP ones. You can run wireshark/ethereal to see the packet flow. |
All times are GMT -5. The time now is 06:59 AM. |