LFTP when used with proxies doesn't work

Posted by user2949465 on Super User See other posts from Super User or by user2949465
Published on 2013-11-03T09:31:17Z Indexed on 2013/11/03 10:00 UTC
Read the original article Hit count: 424

Filed under:
|

can't seem to use LFTP with proxies that require authentification correctly on my Ubuntu server. When I use it with proxy that doesn't require username/password everything seems fine:

lftp 
lftp :~> set http:proxy http://HOST:PORT 
lftp :~> set ftp:proxy http://HOST:PORT 
lftp :~> open username:[email protected] 
lftp [email protected]:~> get file.ext 
file.ext 
36352 bytes transferred in 10 seconds (3.5K/s) 
lftp [email protected]:~> exit 

but when I have to put username/password there is a problem:

lftp 
lftp :~> set http:proxy http://proxylogin:proxypass@HOST:port 
lftp :~> set ftp:proxy http://proxylogin:proxypass@HOST:port 
lftp :~> open ftp://ftpuser:[email protected] 

answer:

cd: Access failed: 401 Authentication Required (~) 

please someone help!

© Super User or respective owner

Related posts about proxy

Related posts about ftp