-   Linux - Newbie (
-   -   ftp connection problem. It hangs on "entering passive mode" (

lynchmob09 10-31-2003 11:15 AM

ftp connection problem. It hangs on "entering passive mode"
I connect to an ftp server just fine. But I think it is supposed to forward me to a private IP and port once i'm there, like (Supposed to, like in a windows ftp program its fine.) This is a unix os i'm connected to by the way. so i can use certain commands when i get connected, but when I execute "dir" or "ls" it says "Entering Passive Mode <, xx, xx>"
then it just hangs.
and then times out.
What's going on?

in dos, when i try the same connection and i try an "ls" command, it is successful--
"200 port command okay, and then 150 Opening ASCII no print mode data connection for ls -l"

then i am able to function.
i'm running stock rh9.


trickykid 10-31-2003 11:52 AM

Turn passive mode off on the client side should most likely do the trick.

tgflynn 10-31-2003 11:54 AM

There's something rather strange about that FTP server directing you to a private IP address, unless you are also on the same private network. Are you able to ping the address ?

If not my hypothesis is that the FTP server you're trying to connect to is misconfigured. Its possible that the Windows FTP clients work because they just ignore the redirection and just continue using the initial IP of the server.

Again this is only an hypothesis.


lynchmob09 10-31-2003 12:09 PM

thanx trickykid, you got it....

i just switched passive mode off and it worked.

wonder why that is needeD?

All times are GMT -5. The time now is 02:53 PM.