org.globus.cog.abstraction.impl.execution.ssh
Class Sftp
java.lang.Object
org.globus.cog.abstraction.impl.execution.ssh.Ssh
org.globus.cog.abstraction.impl.execution.ssh.Sftp
public class Sftp
- extends Ssh
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()
|
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 |
Sftp
public Sftp()
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