public final class SCPDownloadClient
extends java.lang.Object
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. |
boolean |
getRecursiveMode() |
void |
setRecursiveMode(boolean recursive) |
public int copy(java.lang.String sourcePath, LocalDestFile targetFile) throws java.io.IOException
sourcePath
on the connected host to targetPath
locally.java.io.IOException
public boolean getRecursiveMode()
public void setRecursiveMode(boolean recursive)