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

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