Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was trying to download a pdf from the intel website at this address. When I open it through the browser(google-chrome) there seems to be no problem in viewing it or storing it on the my hard disk.
But when I tried to
wget http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-manual-325462.pdf,
I got the following error:

Connecting to www.intel.com|128.230.11.57|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2012-03-12 16:12:25 ERROR 403: Forbidden.
FYI, There was no login required on the website. Why would this happen?

share|improve this question
1  
User-agent filtering? –  billc.cn Mar 12 '12 at 20:19
    
Maybe the server handles command-line user agents differently than "normal" browsers? –  slhck Mar 12 '12 at 20:19
    
That was it. Thanks –  Lelouch Lamperouge Mar 14 '12 at 0:13
add comment

1 Answer

up vote 5 down vote accepted

In this case the site is checking User-Agent. wget --user-agent=Safari ... downloads the file without problem. (Everyone fears blocking Apple's customers, apparently.)

share|improve this answer
    
I try to download this file failed:wget --user-agent=Safari code.ros.org/trac/wg-ros-pkg/raw-attachment/ticket/5069/… –  sam Oct 8 '12 at 2:22
    
How to solve that problem? Thank you~ –  sam Oct 8 '12 at 2:23
    
You should ask a new question –  Lelouch Lamperouge Mar 14 '13 at 4:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.