Hi, I have a question.
I upload file from client to server by asp.net,
this is my code:
protected System.Web.UI.H tmlControls.Htm lInputFile fb;
HttpFileCollect ion MyFileColl = Request.Files;
HttpPostedFile MyPostedMember = MyFileColl.Get( "fb");
fb.PostedFile.S aveAs(("C:\\tem p\\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.S aveAs(("192.168 .6.2\\temp\\tes t.wav" ));
but got error.
how should I modify my code?
Thanks for your kind advice, David.
I upload file from client to server by asp.net,
this is my code:
protected System.Web.UI.H tmlControls.Htm lInputFile fb;
HttpFileCollect ion MyFileColl = Request.Files;
HttpPostedFile MyPostedMember = MyFileColl.Get( "fb");
fb.PostedFile.S aveAs(("C:\\tem p\\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.S aveAs(("192.168 .6.2\\temp\\tes t.wav" ));
but got error.
how should I modify my code?
Thanks for your kind advice, David.
Comment