com.eriksilkensen.net
Class SCPClient

java.lang.Object
  extended by com.eriksilkensen.net.SCPClient

public class SCPClient
extends java.lang.Object

Since:
1.0.4.5
Version:
05/14/07
Author:
Erik Silkensen

Constructor Summary
SCPClient(java.lang.String name, java.lang.String password, java.lang.String host, int port)
          Creates a new instance of SCPClient
 
Method Summary
 void send(java.lang.String rfile, java.lang.String lfile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCPClient

public SCPClient(java.lang.String name,
                 java.lang.String password,
                 java.lang.String host,
                 int port)
Creates a new instance of SCPClient

Method Detail

send

public void send(java.lang.String rfile,
                 java.lang.String lfile)
          throws java.io.IOException,
                 com.jcraft.jsch.JSchException
Parameters:
rfile - the remote file path
lfile - the local file path
Throws:
java.io.IOException
com.jcraft.jsch.JSchException