public class SCPDownloadClient
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
bandwidthLimit |
protected net.schmizz.sshj.xfer.scp.SCPEngine |
engine |
| Modifier and Type | Method and Description |
|---|---|
int |
copy(java.lang.String sourcePath,
LocalDestFile targetFile)
Download a file from
sourcePath on the connected host to targetPath locally. |
int |
copy(java.lang.String sourcePath,
LocalDestFile targetFile,
ScpCommandLine.EscapeMode escapeMode) |
boolean |
getRecursiveMode() |
void |
setRecursiveMode(boolean recursive) |
protected final net.schmizz.sshj.xfer.scp.SCPEngine engine
protected int bandwidthLimit
public int copy(java.lang.String sourcePath,
LocalDestFile targetFile)
throws java.io.IOException
sourcePath on the connected host to targetPath locally.java.io.IOExceptionpublic int copy(java.lang.String sourcePath,
LocalDestFile targetFile,
ScpCommandLine.EscapeMode escapeMode)
throws java.io.IOException
java.io.IOExceptionpublic boolean getRecursiveMode()
public void setRecursiveMode(boolean recursive)