examples
Class SFTPCopyFile

java.lang.Object
  extended byexamples.SFTPCopyFile

public class SFTPCopyFile
extends java.lang.Object

Copy a file to/from an SSH2 server using the sftp protocol. The sftp protocol was introduced with ssh version 2.

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

See Also:
SSHSCP1, SCPExample, SSH2SFTPClient

Constructor Summary
SFTPCopyFile()
           
 
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

SFTPCopyFile

public SFTPCopyFile()
Method Detail

main

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