2

I think that once I used

export http_proxy=http://user:password@address:port/ 

successfully. But now when I use wget it shows

Error parsing proxy URL http://user:passwordaddress:port/: Bad port number.

Why it ignores the @ symbol? How to make it work?

I also tried

wget --proxy-user=USERNAME --proxy-password=PASSWORD 

But it returned

Proxy request sent, awaiting response... 407 Proxy Authentication Required 2011-06-09 14:01:18 ERROR 407: Proxy Authentication Required.

1
  • 2
    Does the user or password contain a # or / character by any chance? In which case you may need to URI-encode it (%23, %2F).CommentedNov 18, 2012 at 16:51

1 Answer 1

3

Did you try the following syntax ?

 http_proxy=http://address:port/ wget --proxy-user=USERNAME --proxy-password=PASSWORD http://url 

    You must log in to answer this question.

    Start asking to get answers

    Find the answer to your question by asking.

    Ask question

    Explore related questions

    See similar questions with these tags.