public override void TransferFile() { FtpClient Client = SynoClient.GetFtpClient(); string localSave = GetNewFileName(); Client.DownloadFile(localSave, SourcePath, false, FtpVerify.None, progress); }
public override void TransferFile() { FtpClient Client = SynoClient.GetFtpClient(); string remoteFile = GetNewFileName(); Client.UploadFile(SourcePath, remoteFile, FtpExists.Overwrite, false, FtpVerify.None, progress); }