Last post Oct 30, 2017 07:19 AM by Cathy Zou
Oct 29, 2017 12:07 PM|Rana M|LINK
I am writing a single page application which allows users to browse and upload files to a file server.
'----- Clciking Upload Button '----
Protected Sub UploadDoc(sender As Object, e As EventArgs) Handles btnUpload.Click
The application is hosted in an application server the shared folder is hosted in a file server.
I got this error after running my code:
I have already shared FilesFolder and grant access to a specific user account. My question is how can I pass the username and password in the Postedfile.Saveas?
Oct 30, 2017 07:19 AM|Cathy Zou|LINK
Hi Rana M,
My question is how can I pass the username and password in the Postedfile.Saveas?
For your problem, you could provided Credentials in NetworkConnection.
For details , please refer to the link below: