1

I'm new to sharepoint.

Could anyone share how to download a file from sharepoint?

I'm able to list the files in a folder but while try to download the files it is throwing "403 - Forbidden" exception.

By this line

FileInformation fileInfo = File.OpenBinaryDirect(clientContext, pFile.ServerRelativeUrl);

Thanks,

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364

0 Answers0