Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to upload document from one server to another server in asp.net

What I have tried:

how to upload document to one server to another server in asp.net
Posted
Updated 11-Jul-19 21:56pm
v2
Comments
F-ES Sitecore 4-Jul-19 3:47am    
Assuming you are using UNC paths, you have to ensure the account your code is running under has network access and access to the server the file is being saved to, then it is a case of simply using UNC paths to write the file rather than disk paths, so "\\targetserver\folder\file.jpg". By default the account your code runs under has no such access. Google for how to change the anonymous user for your version of IIS.
Dominic Burford 4-Jul-19 4:17am    
Are getting an error? What specific problem are you getting? Can you look at the error logs? If you share your code then maybe we can help.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900