Globus API C++ wrappers

The following examples show some C++ wrappers for some common Globus services.

ITSO_GASS_TRANSFER

This class provides methods to easily transfer a file from one location to another. The GLOBUS_FILE class is use to refer to a locally stored file, and GLOBUS_URL is used to refer to a remotely stored file that can be reached by either http, https, or gsiftp protocol.

The method setURL() of the GLOBUS_URL class is used to define the URL.

The method Transfer() of the ITSO_GASS_TRANSFER class executes the transfer, and the two arguments are respectively the source file and the destination file. The two arguments can either be of GLOBUS_FILE or GLOBUS_URL type.

The Transfer() is non-blocking, so the Wait() method should be ...

Get Enabling Applications for Grid Computing with Globus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.