wxCurlFTP Class Reference

A specialized interface to FTP derived from wxCurlBase. More...

#include <ftp.h>

Inheritance diagram for wxCurlFTP:
wxCurlBase wxCurlFTPTool

List of all members.

Public Types

enum  TransferMode { kASCII, kBINARY }

Public Member Functions

 wxCurlFTP (const wxString &szURL=wxEmptyString, const wxString &szUserName=wxEmptyString, const wxString &szPassword=wxEmptyString, wxEvtHandler *pEvtHandler=NULL, int id=wxID_ANY, long flags=wxCURL_DEFAULT_FLAGS)
void SetTransferMode (const TransferMode &tmMode)
TransferMode GetTransferMode () const
void SetToBinary ()
void SetToAscii ()
bool IsAscii () const
bool IsBinary () const
void UsePortOption (const bool &bUsePort)
bool UsePortOption () const
void SetPortParam (const wxString &szParam=_T("-"))
wxString GetPortParam () const
void UseEPRT (const bool &bUseEPRT)
bool UseEPRT () const
void UseEPSV (const bool &bUseEPSV)
bool UseEPSV () const
void AppendOnUpload (const bool &bAppend)
bool AppendOnUpload () const
void CreateMissingDirs (const bool &bCreateMissing)
bool CreateMissingDirs () const
bool SetQuoteList (const wxArrayString &arrQuote)
bool AppendQuote (const wxString &szQuote, const bool &bClear=false)
bool SetPreQuoteList (const wxArrayString &arrQuote)
bool AppendPreQuote (const wxString &szQuote, const bool &bClear=false)
bool SetPostQuoteList (const wxArrayString &arrQuote)
bool AppendPostQuote (const wxString &szQuote, const bool &bClear=false)
bool Get (const wxString &szFilePath, const wxString &szRemoteFile=wxEmptyString)
size_t Get (char *&buffer, const wxString &szRemoteFile=wxEmptyString)
bool Get (wxOutputStream &buffer, const wxString &szRemoteFile=wxEmptyString)
bool Put (const wxString &szFilePath, const wxString &szRemoteFile=wxEmptyString)
bool Put (const char *buffer, size_t size, const wxString &szRemoteFile=wxEmptyString)
bool Put (wxInputStream &buffer, const wxString &szRemoteFile=wxEmptyString)
bool MkDir (const wxString &szRemoteLoc=wxEmptyString)
bool RmDir (const wxString &szRemoteLoc=wxEmptyString)
bool Delete (const wxString &szRemoteLoc=wxEmptyString)
bool Rename (const wxString &szRemoteLocName, const wxString &szRemoteFile=wxEmptyString)
bool List (const wxString &szRemoteLoc=wxEmptyString)
bool Nlst (const wxString &szRemoteLoc=wxEmptyString)
bool Info (const wxString &szRemoteLoc=wxEmptyString)

Protected Member Functions

virtual void SetCurlHandleToDefaults (const wxString &relativeURL)
virtual void SetCurlHandleQuoteOpts ()
void ResetAllQuoteLists ()
void ResetQuoteList ()
void ResetPreQuoteList ()
void ResetPostQuoteList ()

Protected Attributes

struct curl_slist * m_pQuote
struct curl_slist * m_pPreQuote
struct curl_slist * m_pPostQuote
wxString m_szCurrFullPath
wxString m_szCurrFilename
bool m_bCreateMissingDirs
bool m_bAppend
bool m_bUsePortOption
TransferMode m_tmMode
bool m_bUseEPRT
bool m_bUseEPSV
wxCharBuffer m_szPortParam

Detailed Description

A specialized interface to FTP derived from wxCurlBase.


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

Generated on 1 Jan 2010 for wxCURL by  doxygen 1.6.1