高手指教,怎么将文件上传到指定的服务器。
下面的例子可以上传到指定的服务器。
FileName.PostedFile.SaveAs(Server.MapPath(虚拟路径)+"\\"+strNewFile)