globus_gass_transfer_client(3) | globus_gass_transfer | globus_gass_transfer_client(3) |
globus_gass_transfer_client - Client-Initiated Operations
- GASS Transfer Client Operations.
int globus_gass_transfer_register_get
(globus_gass_transfer_request_t *request,
globus_gass_transfer_requestattr_t *attr, char *url,
globus_gass_transfer_callback_t callback, void *user_arg)
int globus_gass_transfer_get (globus_gass_transfer_request_t
*request, globus_gass_transfer_requestattr_t *attr, char *url)
int globus_gass_transfer_register_put
(globus_gass_transfer_request_t *request,
globus_gass_transfer_requestattr_t *attr, char *url, globus_size_t length,
globus_gass_transfer_callback_t callback, void *user_arg)
int globus_gass_transfer_put (globus_gass_transfer_request_t
*request, globus_gass_transfer_requestattr_t *attr, char *url, globus_size_t
length)
int globus_gass_transfer_register_append
(globus_gass_transfer_request_t *request,
globus_gass_transfer_requestattr_t *attr, char *url, globus_size_t length,
globus_gass_transfer_callback_t callback, void *user_arg)
int globus_gass_transfer_append (globus_gass_transfer_request_t
*request, globus_gass_transfer_requestattr_t *attr, char *url, globus_size_t
length)
GASS Transfer Client Operations.
Client-Initiated Operations
One mode of using the GASS Transfer API is to initiate file transfers. The operations supported by the GASS Transfer API are file get, put, and append. These operations are provided for HTTP, and HTTPS file servers. The protocol module interface allows support for additional protocols to be added easily.
The GASS transfer library provides both blocking and non-blocking versions of all its client functions. When a blocking function completes, or the non-blocking function's callback is called, the user should check the request's status to discover whether the transfer was completed successfully, denied, or referred.
Blocking file append.
This function initiates a new 'append' request of the file named by url. The entire file will be transferred to the server if the user is authorized to do so. This function blocks until the GASS library has determined whether the file may be retrieved by the caller, may not because it is a referral to another URL or URLs, or the server has denied the request.
Upon returning from this function, the request handle is initialized to refer to the append request's state.
If the server can't store the file at url, but has an alternative location for the user to store to, then this function return with request's status set to GLOBUS_GASS_TRANSFER_REQUEST_REFERRED.
Parameters
Return values
See also
Blocking file get.
This function initiates a new 'get' request of the file named by url. The entire file will be transferred from the server if the file exists and user is authorized to do so. This function blocks until the GASS library has determined whether the file may be retrievied by the caller, may not because it is a referral to another URL or URLs, or the server has denied the request.
Upon returning from this function, the request handle is initialized to refer to the get request's state. This request handle must be destroyed after the user has finished processing the data associated with the callback.
If the file doesn't exist at url, but a referral does, then this function will return with the request's status set to GLOBUS_GASS_TRANSFER_REQUEST_REFERRED.
Parameters
Return values
See also
Blocking file put.
This function initiates a new 'put' request of the file named by url. The entire file will be transferred to the server if the user is authorized to do so. This function blocks until the GASS library has determined whether the file may be retrieved by the caller, may not because it is a referral to another URL or URLs, or the server has denied the request.
Upon returning from this function, the request handle is initialized to refer to the put request's state.
If the server can't store the file at url, but has an alternative location for the user to store to, then this function return with request's status set to GLOBUS_GASS_TRANSFER_REQUEST_REFERRED.
Parameters
Return values
See also
Nonblocking file append.
This function initiates a new 'append' request of the file named by url. The entire file will be transferred to the server if the user is authorized to do so. This function does not block; instead, the user's callback function will be called once the GASS library has determined whether the file may be stored or not.
Upon returning from this function, the request handle is initialized to refer to the append request's state.
If the server can't store the file at url, but has an alternative location for the user to store to, then the callback function will be called with the request's status set to GLOBUS_GASS_TRANSFER_REQUEST_REFERRED.
Parameters
Return values
See also
Nonblocking file get.
This function initiates a new 'get' request of the file named by url. The entire file will be transferred from the server if the file exists and user is authorized to do so. This function does not block; instead, the user's callback function will be called once the GASS library has determined whether the file can be retrieved or not.
Upon returning from this function, the request handle is initialized to refer to the get request's state.
If the server can't store the file at url, but has an alternative location for the user to store to, then the callback function will be called with the request's status set to GLOBUS_GASS_TRANSFER_REQUEST_REFERRED.
Parameters
Return values
See also
Nonblocking file put.
This function initiates a new 'put' request of the file named by url. The entire file will be transferred to the server if the user is authorized to do so. This function does not block; instead, the user's callback function will be called once the GASS library has determined whether the file may be stored or not.
Upon returning from this function, the request handle is initialized to refer to the put request's state.
If the server can't store the file at url, but has an alternative location for the user to store to, then the callback function will be called with the request's status set to GLOBUS_GASS_TRANSFER_REQUEST_REFERRED.
Parameters
Return values
See also
Generated automatically by Doxygen for globus_gass_transfer from the source code.
Tue Jul 5 2022 | Version 9.4 |