It depends on the server. If it's an FTP server (which would be adequate for a video upload), use the WebClient
object with the STOR
method:
void Upload(string ftpServer, string userName, string password, string filename)
{
using(var client = new WebClient())
{
client.Credentials = new NetworkCredential(userName, password);
client.UploadFile(new Uri(ftpServer + "/" + new FileInfo(filename).Name), "STOR", filename);
}
}
More info on the official documentation here.