My FTP connection from an OpenSUSE 10.3 box is giving me error until it
actually times out. If I type “dir” or “ls” or “mget” I get
500 'EPSV': command not understood. 227 Entering Passive Mode (10,24,19,10,189,240) 200 PORT command successful. 421 Service not available, remote server timed out. Connection closed
There is no firewall on my OpenSUSE client machine.
If I try ftp -A (to enter active mode) and type “dir” I get
500 'EPRT |1| <client's IP> |26086|': command not understood. 200 PORT command successful. 421 Service not available, remote server timed out. Connection closed
If I do “rpm -qa | grep -i ftp” I can see
I am logged in as a normal user on the client box. And I looked at the /etc/ftpusers list and my username doesn’t appear there.
I also tried curl (“curl --verbose --user username”:"password
ftp://ftp.domain.com/system/data.txt.839329 --output somefile
I get error:
500 'EPSV': command not understood. * disabling EPSV usage
and then it exits with error: “curl: (7) couldn’t connect to host”
It doesn’t seems like an issue with my router’s ACL list…as I can at least
connect the ftp server and I tried connecting to the openbsd ftp server
and that works fine.
I have also added “ftp : ALL” and “ftp-data : ALL” to the /etc/hosts.allow on my
client machine - no luck.
tcpdump shows if I try to connect to “ftp.domain.com” it actually takes me to “ftp2.admin.domain.com” and if I try to connect to “ftp2.admin.domain.com” directly it actually times out. I don’t have any control over the server side. And ftp to “ftp.domain.com” works fine from another box.
Thanks for any help.