|
|
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. Security requirements can be set via the sec_requirements attribute. When the given security requirements are either accepted or rejected the callback function is called.
|
|
|
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.
|
|
|
Initial value: "220 Service ready for new user.\r\n" |
|
|
Initial value: "235 GSSAPI Authentication succeeded\r\n" |
|
|
Initial value: "331 User name okay, need password.\r\n" |
|
|
Initial value: "332 Need account for login.\r\n" |
|
|
Initial value: "334 Using authentication type GSSAPI; ADAT must follow.\r\n" |
about globus |
grid research |
globus toolkit |
software development
Comments? webmaster@globus.org