On Fri, Sep 03, 2004 at 10:53:11AM -0400, Rudy Taraschi wrote:
> I turned on debug and got the attached output. My rc file contains
> 'set ftp:passive-mode off' and 'set ftp:proxy ftp://[EMAIL PROTECTED]'
>
> It's strange that I don't get any welcome messages from my proxy at
> the first login, nor do I get the anonymous ok message from the
> remote server.
>
> If I unset the ftp:proxy variable, I DO get the welcome message from
> my proxy.
This can only mean that you have transparent redirection of any connection
to port 21 to your ftp proxy. lftp does not support such transparent
redirection. BUT you can specify any external address as your ftp
proxy and it would work fine.
> lftp ftp.slackware.at:~> user anonymous
> Password: <===== I should get an anon OK here
No, lftp does not send anything to server until it is necessary. The command
`user' only selects user and password to be used in the connection.
In fact, you don't need to use this command as the default is to login
as anonymous.
> lftp [EMAIL PROTECTED]:~> dir
> ---- Connecting to proxy ftpgate (142.39.24.100) port 21
> `ls' at 0 [Connecting...] <===== hangs here till I Ctrl-C
It means that lftp cannot connect to your proxy.
>From what you tell, your proxy works in transparent mode and it is not
possible to connect to it directly. So you can specify any external address
as the proxy:
set ftp:proxy ftp://[EMAIL PROTECTED]
--
Alexander.