sprint 1-alpha
Public Member Functions | Protected Member Functions
FtpClient Class Reference

List of all members.

Public Member Functions

virtual void print (const char *string)
void printf (const char *,...)
const char * ResponseToString (HRESULT hr)
bool Init ()
HRESULT FtpCommand (LPCSTR lpszCommand)
HRESULT Connect (LPCSTR lpszServer, UINT nServerPort, LPCSTR lpszUsername, LPCSTR lpszPassword)
HRESULT Disconnect ()
FTP_CONNECTION_STATES GetState ()
UINT GetLastFtpResponse ()
HRESULT GetCurrentDirectory (LPSTR lpszCurrentDirectory, DWORD dwBufSize)
HRESULT SetCurrentDirectory (LPCSTR lpszCurrentDirectory)
HRESULT CreateDirectory (LPCSTR lpszDirectory)
HRESULT RemoveDirectory (LPCSTR lpszDirectory)
HRESULT Rename (LPCSTR lpszItem, LPCSTR lpszNewName)
HRESULT EnumFiles (ENUMFILESCALLBACK efcProc, LPVOID lpContext)
HRESULT SetPassiveMode (bool bPassiveMode)
HRESULT SetTransferMode (FtpTransferModes tm)
HRESULT PutFile (LPCSTR lpszLocalFile, LPCSTR lpszNewRemoteFile)
HRESULT GetFile (LPCSTR lpszRemoteFile, LPCSTR lpszNewFile)
HRESULT DeleteFile (LPCSTR lpszFileName)
HRESULT OpenFile (LPCSTR lpszFileName)
HRESULT CreateFile (LPCSTR lpszFileName)
HRESULT WriteFile (const char *lpBuffer, DWORD dwBytesToWrite, LPDWORD lpdwBytesWrited)
HRESULT ReadFile (char *lpBuffer, DWORD dwBytesToRead, LPDWORD lpdwBytesReaded)
DWORD GetFileSize ()
HRESULT CloseFile ()

Protected Member Functions

char * GetResponse ()
unsigned int GetResponseId ()
unsigned int GetResponseIdSync (UINT uTimeOut, BOOL bIgnoreComment=FALSE)
HRESULT RenameFrom (LPCSTR lpszFrom)
HRESULT RenameTo (LPCSTR lpszTo)
HRESULT Pasv ()
HRESULT Port ()
HRESULT Mode (FtpTransferModes newmode)
HRESULT WaitForIncomingConnection ()
HRESULT ConnectToServer ()
HRESULT _setup_transfer ()
HRESULT _begin_transfer ()
HRESULT _end_transfer ()

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines