Package io.milton.httpclient.zsyncclient
Interface FileSyncer
- All Known Implementing Classes:
ZSyncClient
public interface FileSyncer
Interface for various methods for syncronising local and remote files. Implementations will
efficiently update either the remote file (upload) or local file (downloade) transferring only
those bytes required to make the other file identical.
- Author:
- brad
-
Method Summary
-
Method Details
-
download
File download(Host host, Path remotePath, File localFile, ProgressListener listener) throws IOException, NotFoundException, HttpException, NotAuthorizedException, BadRequestException, ConflictException -
upload
void upload(Host host, File localcopy, Path remotePath, ProgressListener listener) throws IOException, NotFoundException, NotAuthorizedException, ConflictException
-