#include <CFtp.h>
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 |
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16