public final class SCPUploadClient
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
int |
copy(LocalSourceFile sourceFile,
java.lang.String remotePath)
Upload a local file from
localFile to targetPath on the remote host. |
void |
setUploadFilter(LocalFileFilter uploadFilter) |
public int copy(LocalSourceFile sourceFile, java.lang.String remotePath) throws java.io.IOException
localFile to targetPath on the remote host.java.io.IOExceptionpublic void setUploadFilter(LocalFileFilter uploadFilter)