George,

It looks like you need to use passive FTP because your firewall is not
properly handling a standard FTP connection.  In a standard FTP connection
the server connects back to your computer (the "PORT 10,69,13,203,147,82"
command tells it where to connect), but in your case 10.x.x.x is not a
public IP range so the server is unable to connect to you.  Put the
following line in your ~/.lftp/rc or enter it within lftp before you connect
to the server.

set ftp:passive-mode on

Passive mode will reverse the process and the server will tell you where to
connect for the data connection.

Andy

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Nicolas Noble" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 01, 2002 3:32 PM
Subject: Re: Is there a problem with lftp - proftpd??


> Thanks for the debug suggestion.  I used it and got this output:
>
>     $ lftp
>     lftp :~> debug 9
>     lftp :~> open george
>     Password:
>     ---- Resolving host address...
>     ---- 1 address found
>     ---- Connecting to www.entenman.net (161.58.233.6) port 21
>     <--- 220 entenman.net FTP server ready.
>     ---> AUTH TLS
>     <--- 234 AUTH TLS successful
>     ---> PBSZ 0
>     <--- 200 PBSZ 0 successful
>     ---> USER george
>     <--- 331 Password required for george.
>     ---> PASS XXXX
>     <--- 230 User george logged in.
>     ---> PWD
>     <--- 257 "/" is current directory.
>     cd ok, cwd=/
>     lftp [EMAIL PROTECTED]:/> ls
>     ---> PORT 10,69,13,203,147,82
>     <--- 200 PORT command successful.
>     ---> LIST
>     <--- 425 Can't build data connection: No route to host
>     ---- Closing data socket
>     ---> QUIT
>     <--- 221 Goodbye.
>     ---- Closing control socket


Reply via email to