public interface FileTransferProgress
Interface for monitoring the state of a file transfer
It should be noted that the total bytes to transfer passed to the started method is an indication of file length and may not be exact for some types of file transfer, for example ASCII text mode transfers may add or remove newline characters from the stream and therefore the total bytes transfered may not equal the number expected.
void started(long bytesTotal, String remoteFile)
void progressed(long bytesSoFar)
Copyright © 2020. All rights reserved.