examples
Class SFTPCopyFile
java.lang.Object
examples.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
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 |
SFTPCopyFile
public SFTPCopyFile()
main
public static void main(java.lang.String[] argv)
- Run the application