Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying for some time to find out why I could not download a url like this:

http://domain.com/dir/msrubbish.aspx?urlPath=D:\2014\AC_001\English\AC001_FIN_E_182.PDF

The URLs were pointing to a Windows IIS server. I have mimicked the headers exactly as they are in the browser, but nothing works.

share|improve this question

The solution is to convert the back slashes to forwards slashes:

http://domain.com/dir/msrubbish.aspx?urlPath=D:/2014/AC_001/English/AC001_FIN_E_182.PDF
share|improve this answer
    
Feel free to accept this answer. – don.joey Mar 5 '14 at 13:25

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.