Blueprism Code Producing 403 Forbidden Error

mcandrewe

Member
I am trying to use Blueprism to download pdf files from Sharepoint. I am using the below code. Url and Path are both variables which get passed through. This is producing a 403 forbidden error. I believe that Blueprism is required to pass credentials to Sharepoint before it will be allowed to download the file. Is this possible?


Using wc As New System.Net.WebClient()
wc.DownloadFile(Url, Path)
End Using
 
Top