Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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 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.