globus_i_f...t_handle_t(3)
๐ globus_i_f...t_handle_t(3) ๐
okay bestie, we're in the Library Functions Manual today and this one is globus_i_f...t_handle_t โ the FTP Client handle implementation, and yes it's a struct, and yes it has a lot of fields. buckle up, we're going through every single one. no skipping. ๐ซถ
โจ NAME โจ
globus_i_ftp_client_handle_t โ FTP Client handle implementation. that's the whole vibe. ๐
๐ธ SYNOPSIS ๐ธ
#include <globus_i_ftp_client.h>
๐ Data Fields
char magic [24]globus_ftp_client_handle_t * handlestruct globus_i_ftp_client_target_s * sourcechar * source_urlstruct globus_i_ftp_client_target_s * destchar * dest_urlglobus_i_ftp_client_operation_t opglobus_ftp_client_complete_callback_t callbackvoid * callback_argglobus_ftp_client_handle_state_t stateglobus_priority_q_t stalled_blocksglobus_hashtable_t active_blocksint num_active_blocksglobus_ftp_control_host_port_t * pasv_addressint num_pasv_addressesglobus_object_t * errstruct globus_i_ftp_client_restart_s * restart_infoint notify_in_progressglobus_off_t source_sizeglobus_ftp_client_restart_marker_t restart_markerglobus_off_t partial_offsetglobus_off_t partial_end_offsetglobus_off_t base_offsetglobus_off_t read_all_biggest_offsetglobus_abstime_t * modification_time_pointerglobus_off_t * size_pointerglobus_i_ftp_client_features_t * features_pointerglobus_byte_t ** mlst_buffer_pointerint chmod_file_modechar * chgrp_groupstruct tm utime_timeglobus_mutex_t mutexchar * checksumglobus_off_t checksum_offsetglobus_fifo_t src_op_queuevoid * user_pointer
๐ Detailed Description ๐
FTP Client handle implementation. that's it, that's the description, the struct is the description, it's giving "I contain multitudes." ๐
๐ Field Documentation ๐
๐ฆ globus_hashtable_t globus_i_ftp_client_handle_t::active_blocks
A hash of the data blocks that the control handle is currently busy processing. it's the "currently in the group chat" list. ๐ฅ
๐ฆ globus_off_t globus_i_ftp_client_handle_t::base_offset
The base offset for a transfer โ and in stream mode, bestie, this gets added onto every single offset. all of them. no cap.
๐ฆ globus_ftp_client_complete_callback_t globus_i_ftp_client_handle_t::callback
The callback that gets called once this operation is completed. it's the "we're done here" text. ๐
๐ฆ void* globus_i_ftp_client_handle_t::callback_arg
The user-supplied parameter for that callback. your little gift to future-you. ๐
๐ฆ char* globus_i_ftp_client_handle_t::checksum
cksm pointer. short, sweet, iconic.
๐ฆ globus_off_t globus_i_ftp_client_handle_t::checksum_offset
checksum parameters.
๐ฆ char* globus_i_ftp_client_handle_t::chgrp_group
The group name or ID for CHGRP.
๐ฆ int globus_i_ftp_client_handle_t::chmod_file_mode
The file mode for CHMOD.
๐ฆ struct globus_i_ftp_client_target_s* globus_i_ftp_client_handle_t::dest
Info about the connection to the destination URL, for a put or a third-party transfer. the "where it's going" of it all. โจ
๐ฆ char* globus_i_ftp_client_handle_t::dest_url
destination URL. ๐
๐ฆ globus_object_t* globus_i_ftp_client_handle_t::err
The error object that gets passed to the completion callback. when things go sideways, this is the one who tells the story. ๐ญ
๐ฆ globus_i_ftp_client_features_t* globus_i_ftp_client_handle_t::features_pointer
Pointer to the user's features buffer.
๐ฆ globus_ftp_client_handle_t* globus_i_ftp_client_handle_t::handle
The user's handle pointer โ the one used to initialize this very structure. the origin story. ๐ฑ
๐ฆ char globus_i_ftp_client_handle_t::magic[24]
client handle magic number. โจmagicalโจ literally.
๐ฆ globus_byte_t** globus_i_ftp_client_handle_t::mlst_buffer_pointer
Pointer to the user's MLST/STAT string buffer.
๐ฆ globus_abstime_t* globus_i_ftp_client_handle_t::modification_time_pointer
Pointer to the user's modification time buffer.
๐ฆ globus_mutex_t globus_i_ftp_client_handle_t::mutex
Thread safety. that's the whole field note. protect the vibes. ๐
๐ฆ int globus_i_ftp_client_handle_t::notify_in_progress
Delayed notification information.
๐ฆ int globus_i_ftp_client_handle_t::num_active_blocks
How many blocks are chillin' in the active_blocks hash. ๐ข
๐ฆ int globus_i_ftp_client_handle_t::num_pasv_addresses
How many passive addresses we know about.
๐ฆ globus_i_ftp_client_operation_t globus_i_ftp_client_handle_t::op
The current operation on this handle. main character energy, one op at a time. ๐
๐ฆ globus_off_t globus_i_ftp_client_handle_t::partial_end_offset
Partial file transfer ending offset. the "and that's where we stop" offset. ๐
๐ฆ globus_off_t globus_i_ftp_client_handle_t::partial_offset
Partial file transfer starting offset. the "and that's where we begin" offset. ๐
๐ฆ globus_ftp_control_host_port_t* globus_i_ftp_client_handle_t::pasv_address
Address of the PASV side of a transfer.
๐ฆ globus_off_t globus_i_ftp_client_handle_t::read_all_biggest_offset
The offset used to figure out what length to return in a read callback when the read_all attribute is set. it's doing math so you don't have to. ๐งฎ
๐ฆ struct globus_i_ftp_client_restart_s* globus_i_ftp_client_handle_t::restart_info
Restart information.
๐ฆ globus_ftp_client_restart_marker_t globus_i_ftp_client_handle_t::restart_marker
Current info about what has been transferred so far. the "receipts" of the transfer, if you will. ๐งพ
๐ฆ globus_off_t* globus_i_ftp_client_handle_t::size_pointer
Pointer to the user's size buffer.
๐ฆ struct globus_i_ftp_client_target_s* globus_i_ftp_client_handle_t::source
Info about the connection to the source URL, for a get or a third-party transfer. the "where it's coming from" counterpart to dest. ๐ธ
๐ฆ globus_off_t globus_i_ftp_client_handle_t::source_size
The size of the file to be downloaded โ if known. emphasis on if, bestie, don't come for me. ๐
๐ฆ char* globus_i_ftp_client_handle_t::source_url
source URL. ๐
๐ฆ globus_fifo_t globus_i_ftp_client_handle_t::src_op_queue
piplining operation queue. (yes that's how it's spelled here, i'm just the messenger ๐ซถ)
๐ฆ globus_priority_q_t globus_i_ftp_client_handle_t::stalled_blocks
A priority queue of the data blocks that haven't made it to the FTP control library yet. they're not lost, they're just... waiting their turn. โณ
๐ฆ globus_ftp_client_handle_state_t globus_i_ftp_client_handle_t::state
The current state of the operation we're processing.
๐ฆ void* globus_i_ftp_client_handle_t::user_pointer
User pointer.
๐ See also:globus_ftp_client_handle_set_user_pointer(),globus_ftp_client_handle_get_user_pointer()
๐ฆ struct tm globus_i_ftp_client_handle_t::utime_time
The modification time for UTIME.
๐ซ Author ๐ซ
Generated automatically by Doxygen for globus_ftp_client from the source code. not a human, not a bestie, just a robot doing its little documentation dance. ๐ค๐
๐ and that's a wrap ๐
this page came from globus_ftp_client, Version 9.9, and it lives under the manual name globus_ftp_client โ you found it filed as globus_i_f...t_handle_t(3). go forth and handle your FTP clients, bestie, you're literally so good at this. ๐
โจ๐
๐ฆ where this page comes from
- fedora 44: globus-ftp-client-doc 9.9-2.fc44 ยท Apache-2.0
- ubuntu resolute: libglobus-ftp-client-doc 9.9-1 ยท Apache-2.0
- ubuntu stonking: libglobus-ftp-client-doc 9.9-2build1 ยท Apache-2.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms