net.schmizz.sshj.sftp
Class SFTPFileTransfer
java.lang.Object
net.schmizz.sshj.xfer.AbstractFileTransfer
net.schmizz.sshj.sftp.SFTPFileTransfer
- All Implemented Interfaces:
- FileTransfer
public class SFTPFileTransfer
- extends AbstractFileTransfer
- implements FileTransfer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SFTPFileTransfer
public SFTPFileTransfer(SFTPEngine engine)
upload
public void upload(String source,
String dest)
throws IOException
- Specified by:
upload in interface FileTransfer
- Throws:
IOException
download
public void download(String source,
String dest)
throws IOException
- Specified by:
download in interface FileTransfer
- Throws:
IOException
upload
public void upload(LocalSourceFile localFile,
String remotePath)
throws IOException
- Specified by:
upload in interface FileTransfer
- Throws:
IOException
download
public void download(String source,
LocalDestFile dest)
throws IOException
- Specified by:
download in interface FileTransfer
- Throws:
IOException
setUploadFilter
public void setUploadFilter(LocalFileFilter uploadFilter)
setDownloadFilter
public void setDownloadFilter(RemoteResourceFilter downloadFilter)
getUploadFilter
public LocalFileFilter getUploadFilter()
getDownloadFilter
public RemoteResourceFilter getDownloadFilter()
Copyright © 2009-2011. All Rights Reserved.