org.globus.cog.abstraction.impl.execution.ssh
Class Sftp

java.lang.Object
  extended by org.globus.cog.abstraction.impl.execution.ssh.Ssh
      extended by org.globus.cog.abstraction.impl.execution.ssh.Sftp

public class Sftp
extends Ssh


Field Summary
 
Fields inherited from class org.globus.cog.abstraction.impl.execution.ssh.Ssh
always, cipher, error, fingerprint, host, keyfile, logfile, mac, output, passphrase, password, port, ssh, sshtoolsHome, username, verifyhost
 
Constructor Summary
Sftp()
           
 
Method Summary
 void execute()
           
 void executeSFTP(com.sshtools.j2ssh.sftp.SftpSubsystemClient sftp)
           
 String getDelete()
           
 String getDest()
           
 String getGet()
           
 String getMkdir()
           
 String getPermissions()
           
 String getPut()
           
 String getRmdir()
           
 void setDelete(String delete)
           
 void setDest(String dest)
           
 void setGet(String get)
           
 void setMkdir(String mkdir)
           
 void setPermissions(String permissions)
           
 void setPut(String put)
           
 void setRmdir(String rmdir)
           
 
Methods inherited from class org.globus.cog.abstraction.impl.execution.ssh.Ssh
getError, getOutput, setAlways, setCipher, setError, setHost, setKeyfile, setLogfile, setMac, setOutput, setPassphrase, setPassword, setPort, setSshtoolshome, setUsername, setVerifyhost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sftp

public Sftp()
Method Detail

setDest

public void setDest(String dest)

getDest

public String getDest()

setGet

public void setGet(String get)

getGet

public String getGet()

setPut

public void setPut(String put)

getPut

public String getPut()

setMkdir

public void setMkdir(String mkdir)

getMkdir

public String getMkdir()

setRmdir

public void setRmdir(String rmdir)

getRmdir

public String getRmdir()

setPermissions

public void setPermissions(String permissions)

getPermissions

public String getPermissions()

setDelete

public void setDelete(String delete)

getDelete

public String getDelete()

execute

public void execute()
             throws IllegalSpecException,
                    InvalidSecurityContextException,
                    InvalidServiceContactException,
                    TaskSubmissionException,
                    JobException
Overrides:
execute in class Ssh
Throws:
IllegalSpecException
InvalidSecurityContextException
InvalidServiceContactException
TaskSubmissionException
JobException

executeSFTP

public void executeSFTP(com.sshtools.j2ssh.sftp.SftpSubsystemClient sftp)
                 throws TaskSubmissionException
Throws:
TaskSubmissionException