public interface SshSCPClient extends SshFileTransferClient
| Modifier and Type | Method and Description |
|---|---|
void |
get(java.lang.String remoteFilePath,
java.io.File destinationFile,
boolean recursive)
Retrieve file(s) from a remote path, placing it in the destination file
(or directory).
|
void |
put(java.lang.String remotePath,
java.lang.String mode,
java.io.File sourceFile,
boolean recursive)
Put a file or directory to a remote path.
|
addFileTransferListener, removeFileTransferListeneraddListener, close, isOpen, open, removeListenervoid put(java.lang.String remotePath,
java.lang.String mode,
java.io.File sourceFile,
boolean recursive)
throws SshException
remotePath - path to copy file to.mode - mode to create new files assourceFile - source file (or directory)recursive - recursively copy this directory and all of it's children
to the remote pathSshExceptionvoid get(java.lang.String remoteFilePath,
java.io.File destinationFile,
boolean recursive)
throws SshException
remoteFilePath - remote file pathdestinationFile - destination file or directoryrecursive - recursively copy this path and all of it's children to
the destination directorySshExceptionCopyright © 2018. All rights reserved.