|
Initialize a globus ftp handle. This function will set up (i.e. intialize all mutexes and variables) a globus ftp handle. It will also enter the handle in a list used by the module activation/deactivation functions.
|
|
Destroy a globus ftp handle. This function will free up all dynamicly allocated memory associated with a given globus ftp handle. It will also remove the handle from a list used by the module activation/deactivation functions. This function should only be called after a call to either globus_ftp_control_force_close or globus_ftp_control_quit.
|
|
Create a new control connection to an FTP server. This function is used to initiate an FTP control connection. It creates the socket to the FTP server. When the connection is made to the server, and the server's identification string is received, the callback function will be invoked.
|
|
Helper function which frees the memory associated with a response structure. This is a helper function which frees the memory associated with a response structure.
|
|
Helper function which copies one response structure to another. This is a helper function which copies one response structure to another.
|
|
Authenticate the user to the FTP server. This will perform the authentication handshake with the FTP server. depending on which parameters are non-NULL, the authentication may involve GSSAPI credentials, a username, a password, and an account name.
|
|
Send an FTP protocol command to the FTP server and register a response handler. This function is used to send an FTP command, and register a handler to receive the FTP reply (or replies, if an intermediate one is sent). When the control channel is gss authenticated, the message and the reply will be automatically gss wrapped/unwrapped.
|
|
Send an ABORT to the FTP server and register a response handler. This function is used to send the ABORT message to the FTP server. The ABORT message is sent out-of-band, and terminates any current data transfer in progress. As a result of the ABORT, the data channels used by this control channel will be closed. The data command callback will be issued with either a completion reply, or a transfer aborted reply. The ABORT callback will also be invoked, with the server's response to the abort command. Any attempts to register buffers for read or write after an ABORT has been sent will fail with a "no transfer in progress" error.
|
|
Send a QUIT message to the FTP server and register a response handler. This function is used to close the control channel to the FTP server. There should be no transfer commands in progress when this is called. Once the final response callback passed to this function is invoked, the control handle can no longer be used for any gsiftp control operations.
|
|
Force a close of the control connection without waiting for outstanding commands to complete and without sending QUIT. This function is used to close the control channel to the FTP server. Once the final response callback passed to this function is invoked, the control handle can no longer be used for any gsiftp control operations.
|
|
Helper function which initializes a authentication information structure. This is helper function initializes a authentication information structure with the values contained in the second to fifth arguments, which may be GLOBUS_NULL. No memory is allocated in this function.
|
|
Helper function which compares two authentication information structures. This is helper function compares two authentication information structures and return zero if the two structures are deemed equal and a non-zero value otherwise.
|
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org