| Method Summary |
| |
__init__(self,
handle)
Constructs an instance. |
| |
__del__(self)
Deletes the instance and frees the memory associated with the
handle |
| |
abort(self,
callback,
arg)
Send an ABORT to the FTP server and register a response handler |
| |
authenticate(self,
auth_info,
use_auth,
callback,
arg)
authenticate the user to the FTP server |
| |
code(self,
command)
Retreives a command code from a globus ftp control command. |
| |
control_connect(self,
host,
port,
callback,
arg)
Create a new control connectiong to an FTP server. |
| |
create_data_info(self,
buffer,
offset,
eof,
callback,
arg)
Creates a write_info data structure, |
| |
data_add_channels(self,
num_channels,
stripe_ndx)
Opens additional data channels (connections) to the host identified by
the stripe parameter |
| |
data_connect(self,
callback,
arg)
Create an outgoing FTP data connection. |
| |
data_connect_read(self,
callback,
arg)
Create an incoming FTP data connection |
| |
data_query_channels(self,
stripe_ndx)
Returns the number of currently open channels for the host identified
by the stripe parameter |
| |
data_read(self,
buffer,
callback,
arg)
Reads data from data connection(s) and puts it in the specified
buffer. |
| |
data_remove_channels(self,
num_channels,
stripe_ndx)
Removes data channels, to the host identified by the stripe
parameter |
| |
data_send_eof(self,
eof_array,
eof,
callback,
arg)
Sends an eof message to each stripe along an open data connection |
| |
data_write(self,
buffer,
offset,
eof,
callback,
arg)
Writes data from the supplied buffer to data connection(s) |
| |
data_write_stripe(self,
buffer,
offset,
eof,
stripe_ndx,
callback,
arg)
Writes data to the specified stripe |
| |
force_close(self,
callback,
arg)
Force a close of the control connection without sending a QUIT or
waiting for outstanding commands to complete |
| |
free_callbackData(self,
callbackHandle)
Frees the memory associated with the callback handle |
| |
free_callbackDefault(self,
callbackHandle)
Frees the memory associated with the callback handle |
| |
get_handle(self)
Gets a pointer to the handle. |
| |
get_pbsz(self)
Return the size of the protection buffer size information |
| |
get_total_data_channels(self,
stripe_ndx)
Returns the number of data channels used so far on this particular
stripe |
| |
local_dcau(self,
dcau,
credential)
Channel authentication. |
| |
local_mode(self,
mode)
Update the ftp handle with the given mode information |
| |
local_parallelism(self,
parallelism)
Set the parallelism information in a FTP control handle |
| |
local_pasv(self)
Create a local listening socket, bind it and return the address the
socket is listening to. |
| |
local_pbsz(self,
size)
Update the ftp handle with the given protection buffer size
information |
| |
local_port(self,
address)
Insert the host/port information returned by a PASV on the remote host
into the local FTP control handle. |
| |
local_send_eof(self,
eof)
Determines if the library will automatically send an EOF message in
extended block mode, or if the user will have to explicity do it by
calling data_send_eof |
| |
local_spas(self,
address_array)
Striped Passive -- enables parallelism and striping |
| |
local_spor(self,
address_array)
Striped Port -- enables parallelism and striping Insert the host/port
addresses returned by a SPOR on the remote host into the local FTP
control handle. |
| |
local_stru(self,
structure)
Update the handle information on the structure of the data being sent
on the data channel |
| |
local_tcp_buffer(self,
tcp_buffer)
Update the ftp handle with the given socket buffer size
information |
| |
local_type(self,
dataType)
Update the FTP control handle with the given type information. |
| |
operation(self,
command)
Retrieves the operation associated with a globus ftp control
command. |
| |
quit(self,
callback,
arg)
send a QUIT to the FTP server and register a response handler |
| |
raw_command(self,
command)
Retrieves a raw command from a globus ftp control command. |
| |
read_commands(self,
callback,
arg)
Begin reading GSIFTP commands. |
| |
release_data_info(self,
write_info)
Releases the memory associated with the write_info object Must be
called after each create_data_info call |
| |
send_command(self,
cmdspec,
callback,
arg)
send a command to the FTP server and register a response handler |
| |
send_response(self,
resp,
callback,
arg)
Send a response to the GSIFTP client. |
| |
x_data_write_stripe(self,
buffer,
offset,
eof,
stripe_ndx,
write_info)
Writes data to the specified stripe |