com.mindbright.sshcommon
Class SSHSCP1
java.lang.Object
com.mindbright.sshcommon.SSHSCP1
- All Implemented Interfaces:
- SSHFileTransfer
- public final class SSHSCP1
- extends java.lang.Object
- implements SSHFileTransfer
Method Summary |
void |
abort()
|
void |
copyToLocal(java.lang.String localFile,
java.lang.String[] remoteFiles,
boolean recursive)
|
void |
copyToLocal(java.lang.String localFile,
java.lang.String remoteFile,
boolean recursive)
|
void |
copyToRemote(java.lang.String[] localFiles,
java.lang.String remoteFile,
boolean recursive)
|
void |
copyToRemote(java.lang.String localFile,
java.lang.String remoteFile,
boolean recursive)
|
void |
setProgress(SSHFileTransferProgress progress)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_COPY_BUFFER_SZ
public static final int DEFAULT_COPY_BUFFER_SZ
- See Also:
- Constant Field Values
SSHSCP1
public SSHSCP1(java.io.File cwd,
SSHConsoleRemote remote,
boolean verbose)
setProgress
public void setProgress(SSHFileTransferProgress progress)
- Specified by:
setProgress
in interface SSHFileTransfer
abort
public void abort()
- Specified by:
abort
in interface SSHFileTransfer
copyToRemote
public void copyToRemote(java.lang.String localFile,
java.lang.String remoteFile,
boolean recursive)
throws java.io.IOException
- Throws:
java.io.IOException
copyToRemote
public void copyToRemote(java.lang.String[] localFiles,
java.lang.String remoteFile,
boolean recursive)
throws java.io.IOException
- Specified by:
copyToRemote
in interface SSHFileTransfer
- Throws:
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
- Throws:
java.io.IOException
copyToLocal
public void copyToLocal(java.lang.String localFile,
java.lang.String remoteFile,
boolean recursive)
throws java.io.IOException
- Throws:
java.io.IOException