|
Initialize a globus ftp server handle. This function will set up (i.e. intialize all mutexes and variables) a globus ftp server handle. It will also enter the handle in a list used by the module activation/deactivation functions.
|
|
Destroy a globus ftp server handle. This function will free up all dynamicly allocated memory associated with a given globus ftp server 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 globus_ftp_control_server_stop.
|
|
Start listening on a given port for FTP client connections. This function starts the listening on *port for connections from ftp clients. When a connection request is made callback is called and passed callback_arg. Upon return from this function the server_handle structure is initialized.
|
|
Initialize a command structure. This function initializes a command structure based on a null terminated string representing one line of input from the client. The command structure is used as a convience to determine what command the client issued. This function parses a command string sent by a client and populates the command argument appropriatly. In the GSSAPI case it will also decode and unwrap the command before parsing it.
|
|
Destroy a command structure. This function frees up the memory allocated to the command argument.
|
|
Creates a copy of a command structure. This function should be called when the user needs to make a copy of a command structure.
|
|
Stop the GSIFTP server from listening for client connections. This function stops listening on the given listener object for client connections. All existing client connections are left open.
|
|
Accept a client connection request. This function is called to accept a connection request from a client. When the listen callback is called (see globus_ftp_control_server_listen) a client has requested a connection. This function must be called to accept that user connection request. Once the connection is established or if a error occurs, the callback function is called.
|
|
Authenticate a client connection. This function is called to authenticate a connection from a client. After a client connection has been accepted (using the globus_ftp_control_server_accept call), this function should be called to authenticate the client. The caller of this function may specify certain authentication requirements using the auth_requirements parameter.
|
|
Begin reading GSIFTP commands on a given control connection. This function begins reading control commands on a globus_ftp_control_handle_t. When a command is read the callback function is called.
|
|
Send a response to the GSIFTP client. This function sends a GSIFTP formatted response to the client. When a command callback is received the user calls this function to respond to the clients request.
|
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org