(12/15/2010 06:07 AM), lina zhao wrote:
> Hi everyone,
> 
> 
> How can I use wget in an interactive way (even I read it non-interactive but
> I still wish there is some compromised way or maybe hopefully), I
> encountered below problems when I tried to download something from this link
> 

<snip>

> This paper is charged, but if I logged in with some username and password
> from the proxy of my school, I can get it free, do you know how to achieve
> it by interactive inputting the username and password.

If you are using Wget 1.12, you can use the --http-user and
--ask-password options. Otherwise, use --http-user and --http-password.

You may also need --auth-no-challenge for it to work; but try without
first, as --auth-no-challenge can leave you more vulnerable to
man-in-the-middle attacks when fetching unencrypted pages.

-- 
Micah J. Cowan
http://micah.cowan.name/

Reply via email to