Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
Cftp Class Reference

#include <ftp.h>

Public Member Functions

 Cftp ()
 
virtual ~Cftp ()
 
HRESULT ConnectToServer (LPCSTR szServerName)
 
HRESULT DisconnectFromServer ()
 
HRESULT LoginToServer (LPCSTR szUserName, LPCSTR szPassword)
 
HRESULT LogoffFromServer (void)
 
HRESULT FindFile (LPCSTR szRemoteFileName, int *piSize)
 
HRESULT FileRecoveryPosition (LPCSTR szLocalFileName, LPCSTR szRegistryRoot)
 
HRESULT RestartFrom (int i)
 
HRESULT GetNextFileBlock (LPCSTR szLocalFileName, int *piTotalRead)
 
HRESULT RecvReply (LPCSTR pReplyBuffer, int iSize, int *piRetCode)
 
HRESULT SendCommand (LPCSTR pCommand, int iSize)
 

Friends

class CDownload
 

Detailed Description

Definition at line 53 of file ftp.h.

Constructor & Destructor Documentation

◆ Cftp()

Cftp::Cftp ( )

Definition at line 170 of file FTP.CPP.

◆ ~Cftp()

Cftp::~Cftp ( )
virtual

Definition at line 194 of file FTP.CPP.

Member Function Documentation

◆ ConnectToServer()

HRESULT Cftp::ConnectToServer ( LPCSTR szServerName)

Definition at line 319 of file FTP.CPP.

◆ DisconnectFromServer()

HRESULT Cftp::DisconnectFromServer ( )

Definition at line 1286 of file FTP.CPP.

◆ FileRecoveryPosition()

HRESULT Cftp::FileRecoveryPosition ( LPCSTR szLocalFileName,
LPCSTR szRegistryRoot )

Definition at line 1688 of file FTP.CPP.

◆ FindFile()

HRESULT Cftp::FindFile ( LPCSTR szRemoteFileName,
int * piSize )

Definition at line 659 of file FTP.CPP.

◆ GetNextFileBlock()

HRESULT Cftp::GetNextFileBlock ( LPCSTR szLocalFileName,
int * piTotalRead )

Definition at line 1383 of file FTP.CPP.

◆ LoginToServer()

HRESULT Cftp::LoginToServer ( LPCSTR szUserName,
LPCSTR szPassword )

Definition at line 485 of file FTP.CPP.

◆ LogoffFromServer()

HRESULT Cftp::LogoffFromServer ( void )

Definition at line 574 of file FTP.CPP.

◆ RecvReply()

HRESULT Cftp::RecvReply ( LPCSTR pReplyBuffer,
int iSize,
int * piRetCode )

Definition at line 917 of file FTP.CPP.

◆ RestartFrom()

HRESULT Cftp::RestartFrom ( int i)
inline

Definition at line 108 of file ftp.h.

◆ SendCommand()

HRESULT Cftp::SendCommand ( LPCSTR pCommand,
int iSize )

Definition at line 869 of file FTP.CPP.

Friends And Related Symbol Documentation

◆ CDownload

friend class CDownload
friend

Definition at line 56 of file ftp.h.


The documentation for this class was generated from the following files: