public final class SCPDownloadClient extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
copy(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(String sourcePath, LocalDestFile targetFile) throws IOException
sourcePath on the connected host to targetPath locally.IOExceptionpublic boolean getRecursiveMode()
public void setRecursiveMode(boolean recursive)
Copyright © 2009–2014. All rights reserved.