Hi, I have a question.
I upload file from client to server by asp.net,
this is my code:
protected System.Web.UI.HtmlControls.HtmlInputFile fb;
HttpFileCollection MyFileColl = Request.Files;
HttpPostedFile MyPostedMember = MyFileColl.Get("fb");
fb.PostedFile.SaveAs(("C:\\temp\\test.wav" ));
and it is ok.
But I w'd like to save the file to another ip address (like
192.168.6.2),
and I open the share folder on it and create the mapping disk on my pc
is Z.
I try this:
fb.PostedFile.SaveAs(("192.168.6.2\\temp\\test.wav " ));
but got error.
how should I modify my code?
Thanks for your kind advice, David.