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

CFtpGet Class Reference

#include <CFtp.h>

List of all members.

Public Methods

 CFtpGet (char *URL, char *localfile, char *Username=NULL, char *Password=NULL)
 ~CFtpGet ()
int GetStatus ()
unsigned int GetBytesIn ()
unsigned int GetTotalBytes ()
void AbortGet ()
void WorkerThread ()

Protected Methods

int ConnectControlSocket ()
int LoginHost ()
unsigned int SendFTPCommand (char *command)
unsigned int ReadFTPServerReply ()
unsigned int GetFile ()
unsigned int IssuePort ()
unsigned int ReadDataChannel ()
void FlushControlChannel ()

Protected Attributes

unsigned int m_iBytesIn
unsigned int m_iBytesTotal
unsigned int m_State
bool m_Aborting
bool m_Aborted
char m_szUserName [100]
char m_szPassword [100]
char m_szHost [200]
char m_szDir [200]
char m_szFilename [100]
char recv_buffer [1000]
SOCKET m_ListenSock
SOCKET m_DataSock
SOCKET m_ControlSock
FILE * LOCALFILE


Constructor & Destructor Documentation

CFtpGet::CFtpGet char *    URL,
char *    localfile,
char *    Username = NULL,
char *    Password = NULL
 

CFtpGet::~CFtpGet  
 


Member Function Documentation

void CFtpGet::AbortGet  
 

int CFtpGet::ConnectControlSocket   [protected]
 

void CFtpGet::FlushControlChannel   [protected]
 

unsigned int CFtpGet::GetBytesIn  
 

unsigned int CFtpGet::GetFile   [protected]
 

int CFtpGet::GetStatus  
 

unsigned int CFtpGet::GetTotalBytes  
 

unsigned int CFtpGet::IssuePort   [protected]
 

int CFtpGet::LoginHost   [protected]
 

unsigned int CFtpGet::ReadDataChannel   [protected]
 

unsigned int CFtpGet::ReadFTPServerReply   [protected]
 

unsigned int CFtpGet::SendFTPCommand char *    command [protected]
 

void CFtpGet::WorkerThread  
 


Member Data Documentation

FILE* CFtpGet::LOCALFILE [protected]
 

bool CFtpGet::m_Aborted [protected]
 

bool CFtpGet::m_Aborting [protected]
 

SOCKET CFtpGet::m_ControlSock [protected]
 

SOCKET CFtpGet::m_DataSock [protected]
 

unsigned int CFtpGet::m_iBytesIn [protected]
 

unsigned int CFtpGet::m_iBytesTotal [protected]
 

SOCKET CFtpGet::m_ListenSock [protected]
 

unsigned int CFtpGet::m_State [protected]
 

char CFtpGet::m_szDir[200] [protected]
 

char CFtpGet::m_szFilename[100] [protected]
 

char CFtpGet::m_szHost[200] [protected]
 

char CFtpGet::m_szPassword[100] [protected]
 

char CFtpGet::m_szUserName[100] [protected]
 

char CFtpGet::recv_buffer[1000] [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Jul 8 11:30:32 2002 for fs2source_released by doxygen1.2.16