SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. 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 am trying to download file (.docx) from 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 can put some code samples tomorrow when I am at work.

Thanks advance!

share|improve this question
up vote 0 down vote accepted

I found a solution for this problem.

CookieAwareWebClient did the trick...

share|improve this answer

Your Answer


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.