aspx頁面:
<asp:FileUpload runat="server" ID="videoupload" />
cs檔案:
string time1 = DateTime.Now.ToString("yyyyMMdd");
string savePath = "/192.168.1.16:9002/abcvideo/"+time1;
videoupload.PostedFile.SaveAs(savePath + videoupload.FileName);
uj5u.com熱心網友回復:
192.168.1.16:9002去掉uj5u.com熱心網友回復:
string savePath = "~/abcvideo/"+time1;uj5u.com熱心網友回復:
我是想把這個檔案傳到.16上面去轉載請註明出處,本文鏈接:https://www.uj5u.com/net/89058.html
標籤:C#
