Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## examples
Class SCPExample

    java.lang.Object
      examples.SCPExample

public class SCPExample
extends java.lang.Object

Copy a file to/from an SSH2 server using the scp protocol. The scp protocol was introduced with ssh1 and is very similar to the rcp protocol. This example used the scp protocol over an ssh2 connection.

Usage: `java -cp examples.jar examples.SCPExample server[:port] username password to|from src_file dst_file`

See Also:
  `SSHSCP1`, `SFTPCopyFile`

Constructor Summary
`SCPExample()`

Method Summary
`static void` | `main(java.lang.String[] argv)` Run the application

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SCPExample

    public SCPExample()

Method Detail

### main

    public static void main(java.lang.String[] argv)

  Run the application

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD