Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members

FXEX::FXFtpClient Class Reference

FTP client implementation details: notifies application of new data _after_ all further processing (makes use of a chore) so as to optimise network throughput, and to allow the app to update the GUI apps should ignore the return code of most functions; since a socket is asynchronous, more than likely, the result of a command will be 'delayed' -> implies we get to 'handle' the error events rather than looking for a return code. More...

#include <FXFtpClient.h>

Inheritance diagram for FXEX::FXFtpClient::

FXEX::FXIOSlave FXEX::FXBaseObject FXObject List of all members.

Public Methods

 FXFtpClient (FXApp *a, const FXString &host="localhost", FXObject *tgt=NULL, FXSelector=0, FXint prt=FTP_PORT)
virtual void open ()
virtual void close ()
virtual void list ()
virtual ~FXFtpClient ()

Detailed Description

FTP client implementation details: notifies application of new data _after_ all further processing (makes use of a chore) so as to optimise network throughput, and to allow the app to update the GUI apps should ignore the return code of most functions; since a socket is asynchronous, more than likely, the result of a command will be 'delayed' -> implies we get to 'handle' the error events rather than looking for a return code.

Definition at line 39 of file FXFtpClient.h.


Constructor & Destructor Documentation

FXEX::FXFtpClient::FXFtpClient FXApp * a,
const FXString & host = "localhost",
FXObject * tgt = NULL,
FXSelector = 0,
FXint prt = FTP_PORT
 

create a new ftp connection.

virtual FXEX::FXFtpClient::~FXFtpClient [virtual]
 

dtor.


Member Function Documentation

virtual void FXEX::FXFtpClient::open [virtual]
 

open the connection.

virtual void FXEX::FXFtpClient::close [virtual]
 

close the connection.

virtual void FXEX::FXFtpClient::list [virtual]
 

list the current directory.