使用 C# 获取视频文件并保存
Get Video File and save using c#
我在 MVC4 web api 上工作,我需要从服务器路径获取视频文件 ("C:\web_app\content\video\demo.mp4") 并且需要将该视频保存到不同的位置 ("C:\video\demo.mp4" ).视频格式为"MP4".
提前致谢。
using system.IO;
class program
{
static void main()
{
// Local Files
File.Copy("path", "new Path");
}
}
我在 MVC4 web api 上工作,我需要从服务器路径获取视频文件 ("C:\web_app\content\video\demo.mp4") 并且需要将该视频保存到不同的位置 ("C:\video\demo.mp4" ).视频格式为"MP4".
提前致谢。
using system.IO;
class program
{
static void main()
{
// Local Files
File.Copy("path", "new Path");
}
}