public final class SCPUploadClient extends Object
Modifier and Type | Method and Description |
---|---|
int |
copy(LocalSourceFile sourceFile,
String remotePath)
Upload a local file from
localFile to targetPath on the remote host. |
void |
setUploadFilter(LocalFileFilter uploadFilter) |
public int copy(LocalSourceFile sourceFile, String remotePath) throws IOException
localFile
to targetPath
on the remote host.IOException
public void setUploadFilter(LocalFileFilter uploadFilter)
Copyright © 2009-2014. All Rights Reserved.