File Upload in asp.net?

somebody

New member
i want to upload a file into another computer in LAN network using the file upload control of asp.net. i have already tried

FileUpload1.SaveAs(@"http://" + computername + "//" + foldername);
This is not working.
The error i have encountered is

' Cannot upload the file because of the following exception The SaveAs method is configured to require a rooted path, and the path 'http://localhost//1' is not rooted. '

Please help.
thank you.
 
Back
Top