I am trying to download a file (.docx) from 1 SharePoint 2007 library with webclient.downloadfile(). SharePoint Webapp has SSL enabled. I get "401 Unauthorized" exception when trying to download the file.

Is it even possible to use webclient with SSL?

Resolution for this might be to use copy.asmx "ootb" webservice to download the file.


I found a solution for this problem.


CookieAwareWebClient did the trick...

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.