com.mindbright.ssh2
Class SSH2SCP1Client

java.lang.Object
  extended by com.mindbright.ssh2.SSH2ConsoleRemote
      extended by com.mindbright.ssh2.SSH2SCP1Client
All Implemented Interfaces:
SSHConsoleRemote

public final class SSH2SCP1Client
extends SSH2ConsoleRemote

Creates a window in which gives us a command-line interface to scp1.


Field Summary
 
Fields inherited from class com.mindbright.ssh2.SSH2ConsoleRemote
connection, session, stderr, stdout
 
Constructor Summary
SSH2SCP1Client(java.io.File cwd, SSH2Connection connection, java.io.OutputStream stderr, boolean verbose)
           
 
Method Summary
 SSHSCP1 scp1()
          Get the underlying SSHSCP1 object.
 
Methods inherited from class com.mindbright.ssh2.SSH2ConsoleRemote
changeStdOut, close, close, command, command, command, command, command, command, command, commandWithTerminal, getStdIn, getStdOut, sendBreak, shell, shell, shell, terminal, waitForExitStatus, waitForExitStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSH2SCP1Client

public SSH2SCP1Client(java.io.File cwd,
                      SSH2Connection connection,
                      java.io.OutputStream stderr,
                      boolean verbose)
Parameters:
cwd - Name of current working directory.
connection - Connection object to run over.
stderr - Stream to output error messages on
verbose - Verbose flag
Method Detail

scp1

public SSHSCP1 scp1()
Get the underlying SSHSCP1 object.