com.mindbright.ssh2
Class SSH2SFTPTransfer
java.lang.Object
|
+--com.mindbright.ssh2.SSH2SFTPTransfer
- All Implemented Interfaces:
- SSH2SFTP.AsyncListener, SSHFileTransfer
- public class SSH2SFTPTransfer
- extends java.lang.Object
- implements SSHFileTransfer, SSH2SFTP.AsyncListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSH2SFTPTransfer
public SSH2SFTPTransfer(java.io.File cwd,
SSH2Connection connection)
throws SSH2Exception
setProgress
public void setProgress(SSHFileTransferProgress progress)
- Specified by:
setProgress in interface SSHFileTransfer
copyToRemote
public void copyToRemote(java.lang.String[] localFiles,
java.lang.String remoteFile,
boolean recursive)
throws java.io.IOException
- Specified by:
copyToRemote in interface SSHFileTransfer
java.io.IOException
copyToLocal
public void copyToLocal(java.lang.String localFile,
java.lang.String[] remoteFiles,
boolean recursive)
throws java.io.IOException
- Specified by:
copyToLocal in interface SSHFileTransfer
java.io.IOException
abort
public void abort()
- Specified by:
abort in interface SSHFileTransfer
progress
public void progress(long size)
- Specified by:
progress in interface SSH2SFTP.AsyncListener