globus_gass_copy(3)
πΈ NAME πΈ
globus_gass_copy(3) β straight out of the Library Functions Manual β is literally globus_gass_copy, aka GASS Copy: Protocol-Independent File Transfer. no cap, that's the whole vibe bestie π
β¨
β¨ SYNOPSIS β¨
okay so here's the cast of characters. keep these names exactly as written β the compiler is not here for improv π«Ά
π Data Structures π
struct globus_gass_copy_handle_sβ Copy Handle. (the main-character handle π)struct globus_gass_copy_attr_sβ Attributes.struct globus_gass_copy_handleattr_sβ Handle Attributes.struct globus_gass_copy_glob_stat_tβ Glob expanded entry information.
π Macros π
#define GLOBUS_GASS_COPY_MODULE (&globus_i_gass_copy_module)β Module Descriptor. periodt.
π¦ Typedefs π¦
typedef void(* globus_gass_copy_performance_cb_t) (void *user_arg, globus_gass_copy_handle_t *handle, globus_off_t total_bytes, float instantaneous_throughput, float avg_throughput)β Performance Callback.typedef void(* globus_gass_copy_callback_t) (void *callback_arg, globus_gass_copy_handle_t *handle, globus_object_t *error)β Copy Callback.typedef struct globus_gass_copy_attr_s globus_gass_copy_attr_tβ Attributes.typedef struct globus_gass_copy_handleattr_s globus_gass_copy_handleattr_tβ Handle Attributes.typedef void(* globus_gass_copy_glob_entry_cb_t) (const char *url, const globus_gass_copy_glob_stat_t *info_stat, void *user_arg)β Gass copy glob entry callback.
π§ Enumerations π§
enum globus_gass_copy_status_tβ Status States.enum globus_gass_copy_url_mode_tβ URL Modes.enum globus_gass_copy_glob_entry_t
π₯ Functions π₯
22 functions, all signatures exactly as they live in the original. i'm gonna give each one a tiny vibe check, but the signature is the signature, bestie π
globus_result_t globus_gass_copy_handle_init (globus_gass_copy_handle_t *handle, globus_gass_copy_handleattr_t *attr)β Initialize a GASS Copy handle. (starter pack era)globus_result_t globus_gass_copy_handle_destroy (globus_gass_copy_handle_t *handle)β Destroy a GASS Copy handle. (cleanup era)globus_result_t globus_gass_copy_set_buffer_length (globus_gass_copy_handle_t *handle, int length)β Set the size of the buffer to be used for doing transfers. (buffer length goes brr)globus_result_t globus_gass_copy_get_buffer_length (globus_gass_copy_handle_t *handle, int *length)β Get the size of the transfer buffer. (read the buffer tea)globus_result_t globus_gass_copy_set_no_third_party_transfers (globus_gass_copy_handle_t *handle, globus_bool_t no_third_party_transfers)β Enable/Disable third-party transfers. (third-party? iconic)globus_result_t globus_gass_copy_get_no_third_party_transfers (globus_gass_copy_handle_t *handle, globus_bool_t *no_third_party_transfers)β Query third-party transfer status. (is third-party on or off?)globus_result_t globus_gass_copy_set_allocate (globus_gass_copy_handle_t *handle, globus_bool_t send_allo)β Set allo on or off. (yes,alloβ keep the spelling exactly)globus_result_t globus_gass_copy_set_stat_on_expand (globus_gass_copy_handle_t *handle, globus_bool_t always_stat)β Makeglobus_gass_copy_expand_url()always send stat info. (stat info always)globus_result_t globus_gass_copy_set_checksum_algo (globus_gass_copy_handle_t *handle, char *algo, globus_gass_copy_handle_t *cksm_handle)β Stores the checksum algorithm to use with all checksum operations. (checksum algo storage)globus_result_t globus_gass_copy_set_checksum (globus_gass_copy_handle_t *handle, char *cksm)β Copies the checksum to the handle's checksum parameter. (copy that checksum)globus_result_t globus_gass_copy_set_partial_offsets (globus_gass_copy_handle_t *handle, globus_off_t offset, globus_off_t end_offset)β Set partial file offsets. (partial offsets, set)globus_result_t globus_gass_copy_get_partial_offsets (globus_gass_copy_handle_t *handle, globus_off_t *offset, globus_off_t *end_offset)β Get partial transfer offsets. (partial offsets, get)globus_result_t globus_gass_copy_attr_init (globus_gass_copy_attr_t *attr)β Initialize an attribute structure. (attr init, slay)globus_result_t globus_gass_copy_attr_set_ftp (globus_gass_copy_attr_t *attr, globus_ftp_client_operationattr_t *ftp_attr)β Set the attributes for ftp/gsiftp transfers. (ftp/gsiftp attr time)globus_result_t globus_gass_copy_attr_set_io (globus_gass_copy_attr_t *attr, globus_io_attr_t *io_attr)β Set file transfers attributes. (file transfer attrs)globus_result_t globus_gass_copy_attr_set_gass (globus_gass_copy_attr_t *attr, globus_gass_transfer_requestattr_t *gass_attr)β Set the http/https attributes. (http/https attrs)globus_result_t globus_gass_copy_get_url_mode (char *url, globus_gass_copy_url_mode_t *mode)β Get URL scheme. (what's the scheme?)globus_result_t globus_gass_copy_register_performance_cb (globus_gass_copy_handle_t *handle, globus_gass_copy_performance_cb_t callback, void *user_arg)β Register a performance information callback. (performance callback registration)globus_result_t globus_gass_copy_get_status (globus_gass_copy_handle_t *handle, globus_gass_copy_status_t *status)β Get the status code of a transfer. (status code check)const char * globus_gass_copy_get_status_string (globus_gass_copy_handle_t *handle)β Get the status string of a transfer. (status string check)globus_result_t globus_gass_copy_glob_expand_url (globus_gass_copy_handle_t *handle, const char *url, globus_gass_copy_attr_t *attr, globus_gass_copy_glob_entry_cb_t entry_cb, void *user_arg)β Expand globbed url. (glob expansion)globus_result_t globus_gass_copy_mkdir (globus_gass_copy_handle_t *handle, char *url, globus_gass_copy_attr_t *attr)β Make directory. (mkdir energy)
π Detailed Description π
Protocol-Independent File Transfer.
The Globus GASS Copy library is motivated by the desire to provide a uniform interface to transfer files specified by different protocols. π¦
The goals in doing this are to:
- Provide a robust way to describe and apply file transfer properties for a variety of protocols. These include the standard HTTP, FTP and GSIFTP options. Some of the new file transfer capabilities in GSIFTP are parallel, striping, authentication and TCP buffer sizing.
- Provide a service to support nonblocking file transfer and handle asynchronous file and network events.
- Provide a simple and portable way to implement file transfers.
Any program that uses Globus GASS Copy functions must include "globus_gass_copy.h". π
Globus GASS Copy uses standard Globus module activation and deactivation. Before any Globus GASS Copy functions are called, the following function must be called:
globus_module_activate(GLOBUS_GASS_COPY_MODULE)
This function returns GLOBUS_SUCCESS if Globus GASS Copy was successfully initialized, and you are therefore allowed to subsequently call Globus GASS Copy functions. Otherwise, an error code is returned, and Globus GASS Copy functions should not be subsequently called. This function may be called multiple times. π
To deactivate Globus GASS Copy, the following function must be called:
globus_module_deactivate(GLOBUS_GASS_COPY_MODULE)
This function should be called once for each time Globus GASS Copy was activated. π§
π Typedef Documentation π
π¦ typedef struct globus_gass_copy_attr_s globus_gass_copy_attr_t π¦
Attributes. Contains any/all attributes that are required to perform the supported transfer methods (ftp, gass, io). π
π¦ typedef void(* globus_gass_copy_callback_t) (void *callback_arg, globus_gass_copy_handle_t *handle, globus_object_t *error) π¦
Copy Callback. Signature of a callback from globus_gass_copy_register_*() functions. (nonblocking transfer functions) β¨
π¦ typedef void(* globus_gass_copy_glob_entry_cb_t) (const char *url, const globus_gass_copy_glob_stat_t *info_stat, void *user_arg) π¦
Gass copy glob entry callback. This callback is passed as a parameter to globus_gass_copy_glob_expand_url(). It is called once for each entry that the original expands to. π«Ά
Parameters
urlβ The full url to the expanded entry. A directory entry will end in a forward slash'/'.info_statβ A pointer to aglobus_gass_copy_glob_stat_tcontaining information about the entry.user_argβ Theuser_argpassed toglobus_gass_copy_glob_expand()
See also
globus_gass_copy_glob_stat_t, globus_gass_copy_glob_expand_url
π¦ typedef struct globus_gass_copy_handleattr_s globus_gass_copy_handleattr_t π¦
Handle Attributes. Contains any/all attributes that are required to create lower-level handles (ftp, gass, io). π
π¦ typedef void(* globus_gass_copy_performance_cb_t) (void *user_arg, globus_gass_copy_handle_t *handle, globus_off_t total_bytes, float instantaneous_throughput, float avg_throughput) π¦
Performance Callback. This callback is registered with 'globus_gass_copy_register_performance_cb' It will be called during a transfer to supply performance information on current transfer. Its frequency will be at most one per second, but it is possible to receive no callbacks. This is possible in very short transfers and in ftp transfers in which the server does not provide performance information. π
Parameters
handleβ the gass copy handle this transfer is occurring onuser_argβ a user pointer registered with'globus_gass_copy_register_performance_cb'total_bytesβ the total number of bytes transfer so farinstantaneous_throughputβ instantaneous rate of transfer (since last callback or start) (bytes / sec)avg_throughputβ the avg thoughput calculated since the start of the transfer (bytes / sec)
Returns
- n/a
π Enumeration Type Documentation π
π§ enum globus_gass_copy_glob_entry_t π§
globbed entry types
π₯ Function Documentation π₯
π« globus_result_t globus_gass_copy_attr_init (globus_gass_copy_attr_t * attr) π«
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. πͺ
Parameters
attrβ The attribute structure to be initialized
Returns
This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred.
See also
globus_gass_copy_attr_set_ftp(), globus_gass_copy_attr_set_gass(), globus_gass_copy_attr_set_io(), globus_gass_copy_get_url_mode().
π« globus_result_t globus_gass_copy_attr_set_ftp (globus_gass_copy_attr_t * attr, globus_ftp_client_operationattr_t * ftp_attr) π«
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. π
Parameters
attrβ Aglobus_gass_copyattribute structureftp_attrβ The ftp/gsiftp attributes to be used
Returns β this one is giving GLOBUS_SUCCESS when everything goes off without a hitch, or a globus_result_t that tells you what error happened. β¨
See also β bestie, go peek at these too:
globus_gass_copy_attr_init()globus_gass_copy_attr_set_gass()globus_gass_copy_attr_set_io()globus_gass_copy_get_url_mode()globus_ftp_client_operationattr_*
π
globus_gass_copy_attr_set_gass π
globus_result_t globus_gass_copy_attr_set_gass (globus_gass_copy_attr_t *
attr, globus_gass_transfer_requestattr_t * gass_attr)
Set the http/https attributes. 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. Itβs giving βcustomize your transfer vibe before you send it.β π¦
Parameters
attrβ aglobus_gass_copyattribute structure.gass_attrβ the http/https attributes to be used.
Returns
This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred. π
See also
globus_gass_copy_attr_init()globus_gass_copy_attr_set_io()globus_gass_copy_attr_set_ftp()globus_gass_copy_get_url_mode()globus_gass_transfer_requestattr_*
πΈ globus_gass_copy_attr_set_io πΈ
globus_result_t globus_gass_copy_attr_set_io (globus_gass_copy_attr_t *
attr, globus_io_attr_t * io_attr)
Set file transfers attributes. 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. File-transfer customization, slay. π
Parameters
attrβ aglobus_gass_copyattribute structure.io_attrβ the file attributes to be used.
Returns
This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred. β¨
See also
globus_gass_copy_attr_init()globus_gass_copy_attr_set_gass()globus_gass_copy_attr_set_ftp()globus_gass_copy_get_url_mode()globus_io_attr_*
π«Ά globus_gass_copy_get_buffer_length π«Ά
globus_result_t globus_gass_copy_get_buffer_length
(globus_gass_copy_handle_t * handle, int * length)
Get the size of the transfer buffer. This function allows the user to get the size of the buffer that is being used for doing transfers. Basically: βhow big is the little transfer bucket, bestie?β πͺ£
Parameters
handleβ get the buffer length for transfers associated with this handle.lengthβ the length, in bytes, of the buffer.
Returns
This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred. π
π globus_gass_copy_get_no_third_party_transfers π
globus_result_t globus_gass_copy_get_no_third_party_transfers
(globus_gass_copy_handle_t * handle, globus_bool_t *
no_third_party_transfers)
Query third-party transfer status. 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. Important vibe check: some servers are NOT about that third-party life. π
Parameters
handleβ see if third-party transfers are turned on or off for transfers associated with this handle. They are on by default.no_third_party_transfersβGLOBUS_FALSEif third-party transfers should be used.GLOBUS_TRUEif third-party transfers should not be used.
Returns
This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred. β
π§ globus_gass_copy_get_partial_offsets π§
globus_result_t globus_gass_copy_get_partial_offsets
(globus_gass_copy_handle_t * handle, globus_off_t * offset, globus_off_t
* end_offset)
Get partial transfer offsets. 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. No cap: -1 = partial transfers are OFF. π«
Parameters
handleβ get the offsets for partial transfers associated with this handle.offsetβ the starting offset for the partial transfer.end_offsetβ the ending offset for the partial transfer.
Returns
This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred. π
π globus_gass_copy_get_status π
globus_result_t globus_gass_copy_get_status (globus_gass_copy_handle_t *
handle, globus_gass_copy_status_t * status)
Get the status code of a 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. One handle = one main-character transfer at a time, periodt. π
Parameters
handleβ aglobus_gass_copy_handle.statusβ will be one of the following:GLOBUS_GASS_COPY_STATUS_NONEβ no transfers have been initiated using this handle.GLOBUS_GASS_COPY_STATUS_PENDINGβ a transfer is currently being set up.GLOBUS_GASS_COPY_STATUS_TRANSFER_IN_PROGRESSβ there is currently a transfer in progress.GLOBUS_GASS_COPY_STATUS_CANCELβ the last transfer initiated using this handle has been cancelled by the user before completing, and is in the process of being cleaned up.GLOBUS_GASS_COPY_STATUS_FAILUREβ the last transfer initiated using this handle failed, and is in the process of being cleaned up.GLOBUS_GASS_COPY_STATUS_DONE_SUCCESSβ the last transfer initiated using this handle has completed successfully.GLOBUS_GASS_COPY_STATUS_DONE_FAILUREβ the last transfer initiated using this handle failed and has finished cleaning up.GLOBUS_GASS_COPY_STATUS_DONE_CANCELLEDβ the last transfer initiated using this handle was cancelled and has finished cleaning up.
Returns
This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred. π
π globus_gass_copy_get_status_string π
const char * globus_gass_copy_get_status_string (globus_gass_copy_handle_t *
handle)
Get the status string of a 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. Same status tea as above, but now itβs a cute little string. π
Parameters
handleβ aglobus_gass_copy_handle.
Returns
Returns a pointer to a character string describing the current status. π¦
β¨ globus_gass_copy_get_url_mode β¨
globus_result_t globus_gass_copy_get_url_mode (char * url,
globus_gass_copy_url_mode_t * mode)
Get URL scheme. 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. Itβs the βwait, what protocol is this URL even giving?β function. π
Parameters
urlβ the URL for schema checking.modeβ the filled in schema type of the URL param.
Returns
This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred. π
See also
globus_gass_copy_attr_init()globus_gass_copy_attr_set_io()globus_gass_copy_attr_set_ftp()globus_gass_copy_set_gass()
π¦ globus_gass_copy_glob_expand_url π¦
globus_result_t globus_gass_copy_glob_expand_url (globus_gass_copy_handle_t
* handle, const char * url, globus_gass_copy_attr_t * attr,
globus_gass_copy_glob_entry_cb_t entry_cb, void * user_arg)
Expand globbed url. This function expands wildcards in a globbed url, and calls entry_cb() on each one. Wildcard girlies, this oneβs for you. π
Parameters
handleβ a gass copy handle to use for the operation.urlβ the URL to expand. The URL may be an ftp, gsiftp or file URL. Wildcard characters supported are'?''*''[ ]'in the filename portion of the url.attrβ gass copy attributes for this operation.entry_cbβ function to call with information about each entry.user_argβ an argument to pass toentry_cb().
Returns
This function returns an error when any of these conditions are true:
handleisGLOBUS_NULLurlisGLOBUS_NULLurlcannot be parsedurlis not a ftp, gsiftp or file url
π globus_gass_copy_handle_destroy π
globus_result_t globus_gass_copy_handle_destroy (globus_gass_copy_handle_t *
handle)
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 destroyed, no further transfers should be associated with it. Bestie, this is the cleanup era β do NOT keep using the handle after this. π
Parameters
handleβ the handle to be destroyed.
Returns
This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred. π
See also
globus_gass_copy_handle_init()globus_ftp_client_handle_destroy()
π globus_gass_copy_handle_init π
globus_result_t globus_gass_copy_handle_init (globus_gass_copy_handle_t *
handle, globus_gass_copy_handleattr_t * attr)
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(). Init first, transfer second, destroy last β the holy trinity. π
Parameters
handleβ the handle to be initialized.attrβ the handle attributes used to use with this handle.
Returns
This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred. β¨
See also
globus_gass_copy_handle_destroy()globus_gass_copy_handleattr_init()globus_ftp_client_hande_init()
π globus_gass_copy_mkdir π
globus_result_t globus_gass_copy_mkdir (globus_gass_copy_handle_t * handle,
char * url, globus_gass_copy_attr_t * attr)
Make directory. This function creates a directory given a ftp or file url. New folder energy, but make it Unix. π
Parameters
handleβ a gass copy handle to use for the mkdir operation.urlβ the URL for the directory to create. The URL may be an ftp, gsiftp or file URL.attrβ gass copy attributes for this operation.
Returns
This function returns an error when any of these conditions are true:
handleisGLOBUS_NULLurlisGLOBUS_NULLurlcannot be parsedurlis not a ftp, gsiftp or file url- the directory could not be created
globus_gass_copy_register_performance_cb π
globus_result_t globus_gass_copy_register_performance_cb
(globus_gass_copy_handle_t * handle, globus_gass_copy_performance_cb_t
callback, void * user_arg)
Okay so this one is literally the βbestie, tell me how the transfer is doingβ hook. Register a performance information callback. Use this to register a performance information callback. You can change it or set it to GLOBUS_NULL any time a transfer is not occurring. β¨
Parameters
handleβ an initialized gass copy handle for which you would like to see performance info.callbackβ the performance callback.user_argβ a user pointer that will be passed to all callbacks for a given handle.
Returns
GLOBUS_SUCCESS- error on a
NULLor busy handle
See also: globus_gass_copy_performance_cb_t
globus_gass_copy_set_buffer_length π
globus_result_t globus_gass_copy_set_buffer_length
(globus_gass_copy_handle_t * handle, int length)
Set the size of the buffer that will be used for doing transfers. This function lets the user set the size of the buffer used for doing transfers β and if you donβt call it, the buffer size defaults to 1M. No cap. π
Parameters
handleβ set the buffer length for transfers associated with this handle.lengthβ the length, in bytes, to make the buffer.
Returns This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred.
globus_gass_copy_set_checksum πΈ
globus_result_t globus_gass_copy_set_checksum (globus_gass_copy_handle_t *
handle, char * cksm)
Copies the checksum to the handleβs checksum parameter. This function frees any existing checksum value stored in the handle, then copies the passed-in checksum to the handle. π
Parameters
handleβ the handle to the object to which the checksum shall be set.cksmβ the checksum string to be set to the handle.
Returns This function always returns GLOBUS_SUCCESS.
globus_gass_copy_set_checksum_algo π¦
globus_result_t globus_gass_copy_set_checksum_algo
(globus_gass_copy_handle_t * handle, char * algo,
globus_gass_copy_handle_t * cksm_handle)
Stores the checksum algorithm to use with all checksum operations. This function sets the checksum algorithm and the handle to be used for checksum calculations to the passed-in handle. β
Parameters
handleβ this is the handle to which the checksum algorithm and handle are set.algoβ this is the algorithm to set in the handle.cksm_handleβ this is the handle that is used for performing checksum operations that will be set in the handle.
Returns This function always returns GLOBUS_SUCCESS.
globus_gass_copy_set_no_third_party_transfers π
globus_result_t globus_gass_copy_set_no_third_party_transfers
(globus_gass_copy_handle_t * handle, globus_bool_t
no_third_party_transfers)
Enable/Disable third-party transfers. This function lets the user 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. π«Ά
Parameters
handleβ turn third-party transfers on or off for transfers associated with this handle. They are on by default.no_third_party_transfersβGLOBUS_FALSEif third-party transfers should be used.GLOBUS_TRUEif third-party transfers should not be used.
Returns This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred.
globus_gass_copy_set_partial_offsets π₯
globus_result_t globus_gass_copy_set_partial_offsets
(globus_gass_copy_handle_t * handle, globus_off_t offset, globus_off_t
end_offset)
Set partial file offsets. This function lets the user 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. π
Parameters
handleβ set the offsets for partial transfers associated with this handle.offsetβ the starting offset for the partial transfer.end_offsetβ the ending offset for the partial transfer.
Returns This function returns GLOBUS_SUCCESS if successful, or a globus_result_t indicating the error that occurred.
Author π
Generated automatically by Doxygen for globus_gass_copy from the source code. Yep, the Doxygen machine wrote this one, not a human with a cute pen. π
Thatβs the whole page, bestie! Source/version:globus_gass_copy,Version 10.13, pageglobus_gass_copy(3). Date: the footer text I got doesnβt actually show one, so Iβm not inventing a date β no cap ππ
π¦ where this page comes from
- fedora 44: globus-gass-copy-doc 10.13-5.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-gass-copy-doc 10.13-2build3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms