0

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.

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
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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