Upload file on FTP
Please make sure your ftp path is set as shown below. string CompleteDPath = “ftp://www.example.com/wwwroot/videos/”; string FileName = “sample.mp4”; WebRequest reqObj = WebRequest.Create(CompleteDPath + FileName); The following script work great with me for uploading files and videos to another servier via ftp. FtpWebRequest ftpClient = (FtpWebRequest)FtpWebRequest.Create(ftpurl + “” + username + “_” + filename); ftpClient.Credentials … Read more