diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-05-12 22:31:14 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-05-12 22:31:14 +0900 |
| commit | 5723f4211a06bc320efdca844b399a2a5b5162ca (patch) | |
| tree | 9088c263f44e62dbf726e72c6260ee8b132f905f /src/SocketCore.h | |
| parent | 89c1916fa57d87ea09142cc3588044c691d1928f (diff) | |
sftp: Seek to the correct position to resume, fix slow start of transfer
Diffstat (limited to 'src/SocketCore.h')
| -rw-r--r-- | src/SocketCore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SocketCore.h b/src/SocketCore.h index 92bc67e3..065e120f 100644 --- a/src/SocketCore.h +++ b/src/SocketCore.h @@ -313,6 +313,8 @@ public: // opened. |path| is used for logging. bool sshSFTPStat(int64_t& totalLength, time_t& mtime, const std::string& path); + // Seeks file position to |pos|. + void sshSFTPSeek(int64_t pos); bool sshGracefulShutdown(); #endif // HAVE_LIBSSH2 |
