(Let's keep the discussion on the list; I can never guarantee availability)
On 12/16/2010 11:13 PM, [email protected] wrote: > Hi, > > when I tried, > > > $ wget --http-user=myusername --http-password=mypassword > --auth-no-challenge > http://www.sciencedirect.com.ezlibproxy1.ntu.edu.sg/science?_ob=MImg&_imagekey=B6TJ5-4W91PWV-7-1&_cdi=5301&_user=892051&_pii=S001046550900157X&_origin=search&_coverDate=10%2F31%2F2009&_sk=998199989&view=c&wchp=dGLzVlb-zSkzk&md5=9d695bc3c93c44bc56bdb56568859d37&ie=/sdarticle.pdf > [1] 19145 > [2] 19146 > [3] 19147 > [4] 19148 > [5] 19149 > [6] 19150 > [7] 19151 > [8] 19152 > [9] 19153 > [10] 19154 The above is shell output, and is a clear indication you should have quoted the URL. The message from the server seems to indicate that the username/password is wrong, though there are other explanations (first, check that it still doesn't work after you fix the quoting issue). For instance, perhaps it's not actually looking for an HTTP-based authentication, but some sort of form submission, or is based on cookies. In that case things could get complicated, but take a look at the suggestions at http://wget.addictivecode.org/FrequentlyAskedQuestions#password-protected (Apologies if my mailer split the above URL across a linebreak.) -- Micah J. Cowan http://micah.cowan.name/
