net.schmizz.sshj.xfer
Interface FileTransfer
- All Known Implementing Classes:
- SCPFileTransfer, SFTPFileTransfer
public interface FileTransfer
upload
void upload(String localPath,
String remotePath)
throws IOException
- Throws:
IOException
download
void download(String remotePath,
String localPath)
throws IOException
- Throws:
IOException
upload
void upload(LocalSourceFile localFile,
String remotePath)
throws IOException
- Throws:
IOException
download
void download(String remotePath,
LocalDestFile localFile)
throws IOException
- Throws:
IOException
getTransferListener
TransferListener getTransferListener()
setTransferListener
void setTransferListener(TransferListener listener)
Copyright © 2009-2011. All Rights Reserved.