diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-10-07 08:43:46 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-07 08:43:46 +0200 |
commit | 5b33fab8c9a8c26cbc8ce3bf5e1573279d7884b3 (patch) | |
tree | 77ddb4c1e526d46b5b6142f4657b9d108430f856 /methods/ftp.h | |
parent | 62acbba8d1e8c9f395ccd1068e89bf14a93d4aa8 (diff) |
add ftp expected size check
Diffstat (limited to 'methods/ftp.h')
-rw-r--r-- | methods/ftp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/ftp.h b/methods/ftp.h index dd92f0086..416a91980 100644 --- a/methods/ftp.h +++ b/methods/ftp.h @@ -62,7 +62,7 @@ class FTPConn bool Size(const char *Path,unsigned long long &Size); bool ModTime(const char *Path, time_t &Time); bool Get(const char *Path,FileFd &To,unsigned long long Resume, - Hashes &MD5,bool &Missing); + Hashes &MD5,bool &Missing, unsigned long long ExpectedSize); FTPConn(URI Srv); ~FTPConn(); |