In the past, Ive saved files to directories that reside on the same machine as the web server. What I want to do today is save files on someone elses machine. I used the following code to save to a directory on the same machine as the web server.
.
.
.
uploadedFile.PostedFile.SaveAs("c:\inetpub\wwwroot\WylePricingSystem\MonthlyArchive\" + myFileName)
.
.
.
Ive tried this, to save to a folder on another computer. This folder has all the correct permissions.
.
.
.
uploadedFile.PostedFile.SaveAs("\\computerName\test\" + myFileName)
.
.
.
Does anyone know if and how I can save files to another computer on the network.
Thanks,
James
.
.
.
uploadedFile.PostedFile.SaveAs("c:\inetpub\wwwroot\WylePricingSystem\MonthlyArchive\" + myFileName)
.
.
.
Ive tried this, to save to a folder on another computer. This folder has all the correct permissions.
.
.
.
uploadedFile.PostedFile.SaveAs("\\computerName\test\" + myFileName)
.
.
.
Does anyone know if and how I can save files to another computer on the network.
Thanks,
James