Functions for remote data management, mostly using GridFTP.
Public calls: growl_gridFTP
Public modules: libgrowl.a
Other modules required: gSOAP v2.1.4
Origin: Hand-Knitted Software, R.J. Allan, CCLRC Daresbury Laboratory
Conditions on external use: Standard, see separate chapter
This module is used by including growl.h and linking to the library libgrowl.a. Publically callable procedures are listed here.
[frame=single] int growl_gridFTP(char *sessionId, char *source, char *sname, char *target, char *tname, char **response);
On entry: unique session key as returned from growl_getDelegation. See Chapter .
On entry: fully qualified dns name of the computer which is the source of data.
On entry: full path to source data file
On entry: fully qualified dns name of the target computer.
On entry: full path to target data file to be over-written or created
On exit: information from FTP server
Integer, 0=success, !0=failure.
SOAP error message if there is a problem.
Workspace: internal workspace is allocated in all these
routines by the gSOAP system for the long return string. This should
be freed by the user when it is no longer required.
Use of globals: none
Other routines called directly: none
Input/ output: none
This module is based on GridFTP and is intended for 3rd party data transfer. It relies upon the fact that multiple firewall ports for control and data can be open between the source and target hosts. This is unlikely to work to a desktop machine and error notification should be clear if transfer cannot take place for this reason.
Put the example code here. Should also be provided as part of the distribution.
[frame=single] Part of code listing