Skip to content

Commit

Permalink
Set default value for restartPosition in Download method on IFtpClien…
Browse files Browse the repository at this point in the history
…t to match FtpClient method
  • Loading branch information
AdamLewisGMSL committed Nov 12, 2020
1 parent 04a63c2 commit 58e2688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FluentFTP/Client/IFtpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ public interface IFtpClient : IDisposable {
FtpStatus Upload(byte[] fileData, string remotePath, FtpRemoteExists existsMode = FtpRemoteExists.Overwrite, bool createRemoteDir = false, Action<FtpProgress> progress = null);

FtpStatus DownloadFile(string localPath, string remotePath, FtpLocalExists existsMode = FtpLocalExists.Overwrite, FtpVerify verifyOptions = FtpVerify.None, Action<FtpProgress> progress = null);
bool Download(Stream outStream, string remotePath, long restartPosition, Action<FtpProgress> progress = null);
bool Download(out byte[] outBytes, string remotePath, long restartPosition, Action<FtpProgress> progress = null);
bool Download(Stream outStream, string remotePath, long restartPosition = 0, Action<FtpProgress> progress = null);
bool Download(out byte[] outBytes, string remotePath, long restartPosition = 0, Action<FtpProgress> progress = null);

List<FtpResult> DownloadDirectory(string localFolder, string remoteFolder, FtpFolderSyncMode mode = FtpFolderSyncMode.Update, FtpLocalExists existsMode = FtpLocalExists.Skip, FtpVerify verifyOptions = FtpVerify.None, List<FtpRule> rules = null, Action<FtpProgress> progress = null);
List<FtpResult> UploadDirectory(string localFolder, string remoteFolder, FtpFolderSyncMode mode = FtpFolderSyncMode.Update, FtpRemoteExists existsMode = FtpRemoteExists.Skip, FtpVerify verifyOptions = FtpVerify.None, List<FtpRule> rules = null, Action<FtpProgress> progress = null);
Expand Down

0 comments on commit 58e2688

Please sign in to comment.