|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridbus.broker.util.GridFTPUtil
This class contains utility methods for GridFTP
| Constructor Summary | |
GridFTPUtil(java.lang.String host,
int port,
java.lang.String proxyFilePath,
java.lang.String CACertFilePath,
test.GridProxy proxy)
|
|
GridFTPUtil(java.lang.String host,
int port,
java.lang.String proxyFilePath,
java.lang.String CACertFilePath,
java.lang.String keyFilePath,
java.lang.String certFilePath,
java.lang.String password)
Constructor for GridFTPUtil initialises the internal datastructures |
|
| Method Summary | |
org.globus.ftp.GridFTPClient |
authenticate()
Performs authentication for a node and returns a GridFTPClient |
boolean |
changeDir(java.lang.String dir)
Change to the specified directory. |
boolean |
cleanup()
Cleans up after a job has finished execution on the grid node. |
void |
getFile(java.lang.String source,
java.lang.String dest)
Gets a file from the remote source |
void |
putFile(java.lang.String source,
java.lang.String dest)
Copies a file to the remote node |
boolean |
transfer(Task task)
Transfers the files related to the task to a remote grid node |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GridFTPUtil(java.lang.String host,
int port,
java.lang.String proxyFilePath,
java.lang.String CACertFilePath,
java.lang.String keyFilePath,
java.lang.String certFilePath,
java.lang.String password)
host - port - proxyFilePath - CACertFilePath - keyFilePath - certFilePath - password -
public GridFTPUtil(java.lang.String host,
int port,
java.lang.String proxyFilePath,
java.lang.String CACertFilePath,
test.GridProxy proxy)
host - port - proxyFilePath - CACertFilePath - proxy - | Method Detail |
public boolean changeDir(java.lang.String dir)
dir -
public boolean cleanup()
public boolean transfer(Task task)
task -
public org.globus.ftp.GridFTPClient authenticate()
public void getFile(java.lang.String source,
java.lang.String dest)
source - dest -
public void putFile(java.lang.String source,
java.lang.String dest)
source - dest -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||