LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 10-29-2013, 03:31 AM   #1
vikler
LQ Newbie
 
Registered: Oct 2013
Posts: 4

Rep: Reputation: Disabled
LFTP problem when using proxies on my server


Hi! I can't seem to make LFTP work with proxies that require authentication on my Ubuntu server.
When I use proxies that don't require username/password, everything seems to be okay:
Code:
lftp 
lftp :~> set http:proxy http://HOST:PORT 
lftp :~> set ftp:proxy http://HOST:PORT 
lftp :~> open username:password@some.ftp.site.com 
lftp username@some.ftp.site.com:~> get file.ext 
file.ext 
36352 bytes transferred in 10 seconds (3.5K/s) 
lftp username@some.ftp.site.com:~> exit
But when I use proxies that require username/password authentication I get a problem:
Code:
$ lftp 
lftp :~> set http:proxy http://proxylogin:proxypass@HOST:port 
lftp :~> set ftp:proxy http://proxylogin:proxypass@HOST:port 
lftp :~> open ftp://ftpuser:ftppass@ftpserv.com
the answer is:
Code:
lftp ftpuser@ftpserver.com:~> ls 
ls: Access failed: 401 Authentication Required (~/)
believe me, I've spent hours and days trying to find the solution ANYWHERE online... No luck! Anyone can help?
 
Old 10-29-2013, 05:11 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate. Please follow discussion here: http://www.linuxquestions.org/questi...es-4175482528/
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFTP problem when using proxies vikler Linux - Server 3 11-02-2013 02:34 PM
lftp remote server du -sh + mail script sappi Programming 3 07-28-2012 09:03 PM
LFTP can't connect to Proftpd server (hangs) guzabi Linux - Server 10 12-28-2010 04:17 AM
how to make socks proxies with ips of server Ruler123 Linux - Software 3 08-12-2009 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration