Home > Software engineering >  Vb to save the video to a remote computer save as how to write
Vb to save the video to a remote computer save as how to write

Time:11-27

Video saved to the machine can write like this:
FileUpload1. SaveAs (Server. MapPath (" ~/VideoFiles/") + FileUpload1. The FileName)
Or written like this:
FileUpload1. SaveAs (HttpContext. Current. Request. MapPath (" ~/VideoFiles/") + FileUpload1. The FileName)

So if you want to save to a folder on a remote server how to write?
The Path is://10.12.14.266/Project1/VideoFiles/
VideoFiles folder is set on the remote for everyone can edit

Please guide, thank you very much!

CodePudding user response:

The up ~ ~ ~ ~ ~ ~

CodePudding user response:

In advance the Shared path mapped to "network disk,"
Then can be the same as "local disk" file operations,
  • Related