PDA

View Full Version : FTP: Port Command Failed


gingic
02-20-2005, 11:08 AM
Hi there, I work at some sites and I ussually hav eno problems with uploading, except with this one,www.geoconsxxx.ro. When I tried to log in whatever is: passive or active to answer is:

PORT COMMAND FAILED.

or

Error: Transfer channel can't be opened. Reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Error: Could not retrieve directory listing

I must tell you that user and pas is ok (accepted)

I tried to contact the provider but they said the problem is at me.
Do I have to install something? Pleas help me.

Here is the log in CuteFTP. PLease help me.


STATUS:> Getting listing ""...
STATUS:> Resolving host name www.geoconsxxx.ro...
STATUS:> Host name www.geoconstruct.ro resolved: ip = 213.164.252.225.
STATUS:> Connecting to ftp server www.geoconsxxx.ro:21 (ip = 213.164.252.225)...
STATUS:> Socket connected. Waiting for welcome message...
220 (vsFTPd 1.1.3)
STATUS:> Connected. Authenticating...
COMMAND:> USER geo
331 Please specify the password.
COMMAND:> PASS *****
230 Login successful. Have fun.
STATUS:> Login successful.
COMMAND:> PWD
257 "/var/www/html/geoconstruct"
STATUS:> Home directory: /var/www/html/www.geoconsxxx.ro
COMMAND:> FEAT
500 Unknown command.
STATUS:> This site doesn't support the 'features' command.
COMMAND:> REST 100
350 Restart position accepted (100).
STATUS:> This site can resume broken downloads.
COMMAND:> REST 0
350 Restart position accepted (0).
COMMAND:> PASV
227 Entering Passive Mode (213,164,252,225,152,225)
COMMAND:> LIST
STATUS:> Connecting ftp data socket 213.164.252.225:39137...
ERROR:> Can't connect to remote server. Socket error = #10060.
425 Failed to establish connection.
ERROR:> Trashed response received.

sweenster
02-20-2005, 10:09 PM
STATUS:> Connecting ftp data socket 213.164.252.225:39137...


This line tells me that you are connecting to remote port 39137 on the server. Sounds quite a large number to me as by default this should be 21. Change the port connection setting to 21 and it might solve your problem.....