public interface SshFileTransferListener
| Modifier and Type | Method and Description |
|---|---|
void |
finishedTransfer(java.lang.String sourcePath,
java.lang.String targetPath)
A file transfer has finished.
|
void |
startedTransfer(java.lang.String sourcePath,
java.lang.String targetPath,
long length)
A new file transfer has started.
|
void |
transferProgress(java.lang.String sourcePath,
java.lang.String targetPath,
long progress)
A file transfer has progressed.
|
void startedTransfer(java.lang.String sourcePath,
java.lang.String targetPath,
long length)
sourcePath - path of file (may be null if the source is
a stream)targetPath - path of file (may be null if the target is
a stream)length - total length of file (or -1 if not known)void transferProgress(java.lang.String sourcePath,
java.lang.String targetPath,
long progress)
sourcePath - path of file (may be null if the source is
a stream)targetPath - path of file (may be null if the target is
a stream)progress - number of bytes sent since the last progressvoid finishedTransfer(java.lang.String sourcePath,
java.lang.String targetPath)
sourcePath - path of file (may be null if the source is
a stream)targetPath - path of file (may be null if the target is
a stream)Copyright © 2018. All rights reserved.