Grid Community Toolkit
6.2.1653033972 (tag: v6.2.20220524)
|
XIO GRIDFTP Client Driver. More...
Go to the source code of this file.
Typedefs | |
typedef enum globus_l_xio_gridftp_mode_e | globus_l_xio_gridftp_mode_t |
XIO GRIDFTP Client Driver.
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_HANDLE | , | ||
globus_ftp_client_handle_t * | ftp_handle | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the ftp client handle to use.
Do not create a new ftp client handle, use this handle instead.
ftp_handle | Specifies the pointer to globus ftp client handle. Note: this handle will not be destroyed. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_HANDLE | , | ||
globus_ftp_client_handle_t ** | ftp_handle_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the ftp client handle on the attr.
ftp_handle_out | The ftp client handle pointer will be stored here. If none is set, NULL will be set. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_APPEND | , | ||
globus_bool_t | append | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Enable or disable opening the file in append mode.
append | GLOBUS_TRUE to enable, GLOBUS_FALSE to disable (default). |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_APPEND | , | ||
globus_bool_t * | append_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the append flag on the attr.
append_out | The append flag will be stored here. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_ERET | , | ||
const char * | eret_alg_str | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the ERET algorithm string. This string contains information needed to invoke a server-specific data reduction algorithm on the file being retrieved.
eret_alg_str | Specifies the ERET algorithm string. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_ERET | , | ||
char ** | eret_alg_str_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the ERET algorithm string.
eret_alg_str_out | The ERET algorithm string will be stored here. It is the responsibility of the user to free the memory allocated for this string. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_ESTO | , | ||
const char * | esto_alg_str | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the ESTO algorithm string. This string contains information needed to invoke a server-specific data reduction algorithm on the file being stored.
esto_alg_str | Specifies the ESTO algorithm string. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_ESTO | , | ||
char ** | esto_alg_str_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the ESTO algorithm string.
esto_alg_str_out | The ESTO algorithm string will be stored here. It is the responsibility of the user to free the memory allocated for this string. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_PARTIAL_TRANSFER | , | ||
globus_bool_t | partial_xfer | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Enable or disable partial transfer (associate a transfer with each read/write) on the GridFTP handle.
partial_xfer | GLOBUS_TRUE to enable, GLOBUS_FALSE to disable (default). |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_PARTIAL_TRANSFER | , | ||
globus_bool_t * | partial_xfer_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the partial transfer flag on the attr.
partial_xfer_out | The partial xfer flag will be stored here. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_NUM_STREAMS | , | ||
int | num_streams | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the number of TCP streams to be used between the client and the server.
num_streams | Specifies the number of streams to use. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_NUM_STREAMS | , | ||
int * | num_streams_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the number of TCP streams on the attr.
num_streams_out | The stream count will be stored here. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_TCP_BUFFER | , | ||
int | buf_size | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the TCP socket send/recv buffer size.
buf_size | The send/recv buffer size in bytes to use. (default is system specific) |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_TCP_BUFFER | , | ||
int * | buf_size_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the TCP socket send/recv buffer size on the attr.
buf_size_out | The send/recv buffer size will be stored here. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_MODE | , | ||
int | mode | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the transmission mode used for data transfer
mode | Specifies the data transmission mode. (default is stream mode) |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_MODE | , | ||
int * | mode_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the data transmission mode on the attr.
mode_out | The data transmission mode will be stored here. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_AUTH | , | ||
gss_cred_id_t | credential, | ||
const char * | user, | ||
const char * | password, | ||
const char * | account, | ||
const char * | subject | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the authentication information used to authenticate with the GridFTP server
credential | The credential to use for authenticating with a GridFTP server. This may be GSS_C_NO_CREDENTIAL to use the default credential. |
user | The user name to send to the GridFTP server. When doing a GSI transfer, this may be set to NULL, and the default gridmap entry for the user's GSI identity will be used |
password | The password to send to the GridFTP server. When doing a GSI transfer, this may be set to NULL. |
account | The account to use for the data transfer. |
subject | The subject name of the GridFTP server. This is only used when doing a GSI transfer, and then only when the security subject name does not match the hostname of the server (ie, when the server is being run by a user). |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_AUTH | , | ||
gss_cred_id_t * | credential_out, | ||
const char ** | user_out, | ||
const char ** | password_out, | ||
const char ** | account_out, | ||
const char ** | subject_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the authentication information on the attr.
credential_out | The credential will be stored here. |
user_out | The user name will be stored here. |
password_out | The password will be stored here. |
account_out | The account information will be stored here. |
subject_out | The subject name will be stored here. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_DCAU | , | ||
int | dcau_mode | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the mode of authentication to be performed on GridFTP data channels.
dcau_mode | Specifies the authentication mode. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_DCAU | , | ||
int * | dcau_mode_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the data channel authentication mode on the attr.
dcau_mode_out | The data channel authentication mode will be stored here. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_DATA_PROTECTION | , | ||
int | protection | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set protection level on the data channel.
protection | Specifies the protection level. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_DATA_PROTECTION | , | ||
int * | protection_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the data channel protection level on the attr.
protection_out | The data channel protection level will be stored here. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SET_CONTROL_PROTECTION | , | ||
int | protection | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set protection level on the control channel.
protection | Specifies the protection level. |
globus_result_t globus_xio_gridftp_attr_cntl | ( | attr | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_GET_CONTROL_PROTECTION | , | ||
int * | protection_out | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the control channel protection level on the attr.
protection_out | The control channel protection level will be stored here. |
globus_result_t globus_xio_gridftp_handle_cntl | ( | handle | , |
driver | , | ||
GLOBUS_XIO_GRIDFTP_SEEK | , | ||
globus_off_t | seek_offset | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Reposition the offset of the file being read/written.
seek_offset | Specifies the desired offset. |