|
Initialize a GASS Copy handle. A globus_gass_copy_handle must be initialized before any transfers may be associated with it. This function initializes a globus_gass_copy_handle to be used for doing transfers, this includes initializing a globus_ftp_client_handle which will be used for doing any ftp/gsiftp transfers. The same handle may be used to perform multiple, consecutive transfers. However, there can only be one transfer associated with a particular handle at any given time. After all transfers to be associated with this handle have completed, the handle should be destroyed by calling globus_gass_copy_handle_destroy().
|
|
Destroy a GASS Copy handle. Destroy a gass_copy_handle, which was initialized using globus_gass_copy_handle_init(), that will no longer be used for doing transfers. Once the handle is detroyed, no further transfers should be associated with it.
|
|
Set the size of the buffer to be used for doing transfers. This function allows the user to set the size of the buffer that will be used for doing transfers, if this function is not called the buffer size will default to 1M.
|
|
Get the size of the buffer being used for doing transfers. This function allows the user to get the size of the buffer that is being used for doing transfers.
|
|
Turn third-party transfers on or off. (They are on by default.) This function allows the user to turn third-party transfers on or off for ftp to ftp transfers associated with a particular handle. This is often desired if one of the servers involved in the transfer does not allow third-party transfers.
|
|
See if third-party transfers are turned on or off. (They are on by default.) This function allows the user to see if third-party transfers are turned on or off for ftp to ftp transfers associated with a particular handle. This is often desired if one of the servers involved in the transfer does not allow third-party transfers.
|
|
Set allo on or off.
|
|
Set the offsets to be used for doing partial transfers. This function allows the user to set the offsets that will be used for doing partial transfers. An offset of -1 will disable partial transfers. An end_offset of -1 means EOF.
|
|
Get the offsets being used for doing partial transfers. This function allows the user to get the offsets that are being used for doing partial transfers. An offset of -1 means partial transfers are disabled.
|
|
Initialize an attribute structure. The globus_gass_copy_attr_t can be used to pass the globus_gass_copy library information about how a transfer should be performed. It must first be initialized by calling this function. Then any or all of the following functions may be called to set attributes associated with a particular protocol: globus_gass_copy_attr_set_ftp(), globus_gass_copy_attr_set_gass(), globus_gass_copy_attr_set_io(). Any function which takes a globus_gass_copy_attr_t as an argument will also accept GLOBUS_NULL, in which case the appropriate set of default attributes will be used.
|
|
Set the attributes for ftp/gsiftp transfers. In order to specify attributes for ftp/gsiftp transfers, a globus_ftp_client_operationattr_t should be initialized and its values set using the appropriate globus_ftp_client_operationattr_* functions. The globus_ftp_client_operationattr_t * can then be passed to the globus_gass_copy_attr_t via this function.
|
|
Set the attributes for file transfers. In order to specify attributes for file transfers, a globus_io_attr_t should be initialized and its values set using the appropriate globus_io_attr_* functions. The globus_io_attr_t can then be passed to the globus_gass_copy_attr_t via this function.
|
|
Set the attributes for http/https transfers. In order to specify attributes for http/https transfers, a globus_gass_transfer_requestattr_t should be initialized and its values set using the appropriate globus_gass_transfer_requestattr_* functions. The globus_gass_transfer_requestattr_t can then be passed to the globus_gass_copy_attr_t via this function.
|
|
Classify the URL schema into the transfer method that will be used to do the actual tranfer. This function enables the user to determine what protocol will be used to transfer data to/from a particular url. This information can then be used to specify the appropriate attributes when initiating a transfer.
|
|
Register a performance information callback. Use this to register a performance information callback. You change or set to GLOBUS_NULL the callback any time a transfer is not occurring.
|
|
Get the status code of the current transfer. Get the status of the last transfer to be initiated using the given handle. Only one transfer can be active on a handle at a given time, therefore new transfers may only be initiated when the current status is one of the following: GLOBUS_GASS_COPY_STATUS_NONE, GLOBUS_GASS_COPY_STATUS_DONE_SUCCESS, GLOBUS_GASS_COPY_STATUS_DONE_FAILURE, GLOBUS_GASS_COPY_STATUS_DONE_CANCELLED
|
|
Get the status string of the current transfer. Get the status of the last transfer to be initiated using the given handle. Only one transfer can be active on a handle at a given time, therefore new transfers may only be initiated when the current status is one of the following: GLOBUS_GASS_COPY_STATUS_NONE, GLOBUS_GASS_COPY_STATUS_DONE_SUCCESS, GLOBUS_GASS_COPY_STATUS_DONE_FAILURE, GLOBUS_GASS_COPY_STATUS_DONE_CANCELLED
|
|
Transfer data from source URL to destination URL (blocking).
|
|
Transfer data from source URL to an IO handle (blocking).
|
|
Transfer data from an IO handle to destination URL (blocking).
|
|
Transfer data from source URL to destination URL (non-blocking). This functions initiates a transfer from source URL to destination URL, then returns immediately. When the transfer is completed or if the transfer is aborted, the callback_func will be invoked with the final status of the transfer.
|
|
Transfer data from source URL to an IO handle (non-blocking). This functions initiates a transfer from source URL to an IO handle, then returns immediately. When the transfer is completed or if the transfer is aborted, the callback_func will be invoked with the final status of the transfer.
|
|
Transfer data from an IO handle to destination URL (non-blocking). This functions initiates a transfer from an IO handle to destination URL, then returns immediately. When the transfer is completed or if the transfer is aborted, the callback_func will be invoked with the final status of the transfer.
|
|
Cache connections to an FTP or GSIFTP server. Explicitly cache connections to URL server. When an URL is cached, the connection to the URL server will not be closed after a file transfer completes.
|
|
Remove a cached connection to an FTP or GSIFTP server. Explicitly remove a cached connection to an FTP or GSIFTP server. If an idle connection to an FTP server exists, it will be closed.
|
|
Set a pointer in the handle to point at user-allocated memory.
|
|
Get the pointer in the handle that points to user-allocated memory.
|
|
Cancel the current transfer associated with this handle,.
|
|
Cancel the source or destination transfer in progress.
|
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org