net.scp
Class ScpTo

java.lang.Object
  extended by net.scp.ScpTo

public class ScpTo
extends java.lang.Object

net.scp.ScpTo A main entry into an scp client. See ScpDialog for a proper GUI.


Constructor Summary
ScpTo()
           
 
Method Summary
static void main(java.lang.String[] arg)
           
static void scpTo()
           
static void scpTo(java.lang.String localFile, java.lang.String remoteSystem, java.lang.String remoteFile, SimpleUserInfo sui)
          A simple entry point for uploading a localFile file to a remote system via scp.
static void sftpTo(java.lang.String localFile, java.lang.String remoteSystem, java.lang.String remoteFile, SimpleUserInfo sui)
          A simple entry point for uploading a single file to a remote system using SFTP.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScpTo

public ScpTo()
Method Detail

main

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

scpTo

public static void scpTo()

sftpTo

public static void sftpTo(java.lang.String localFile,
                          java.lang.String remoteSystem,
                          java.lang.String remoteFile,
                          SimpleUserInfo sui)
A simple entry point for uploading a single file to a remote system using SFTP.

Parameters:
localFile - check this to make sure it canRead
remoteSystem - a system with port 22 open
remoteFile - a file that will be overwritten!
sui - a simple class that hold the uid and password

scpTo

public static void scpTo(java.lang.String localFile,
                         java.lang.String remoteSystem,
                         java.lang.String remoteFile,
                         SimpleUserInfo sui)
A simple entry point for uploading a localFile file to a remote system via scp.

Parameters:
localFile -
remoteSystem -
remoteFile -
sui -