Example #1
0
        public void Should_DownloadMedia()
        {
            var filePath = "C:\\medias\\output.avi";
            var media    = sftpClient.DownloadMedia("/content/media.avi");

            FileHelper.SaveFile(media, filePath);
        }
Example #2
0
 public Stream DownloadMedia(string remotePath)
 {
     return(deployer.DownloadMedia(remotePath));
 }