added a few missing functions (Abort, FileExits, GetFileSize)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -115,6 +115,13 @@ Default constructor.
|
||||
|
||||
Destructor will close the connection if connected.
|
||||
|
||||
\membersection{wxFTP::Abort}\label{wxftpabort}
|
||||
|
||||
\func{bool}{Abort}{\void}
|
||||
|
||||
Aborts the download currently in process, returns {\tt TRUE} if ok, {\tt FALSE}
|
||||
if an error occured.
|
||||
|
||||
\membersection{wxFTP::CheckCommand}
|
||||
|
||||
\func{bool}{CheckCommand}{\param{const wxString\&}{ command}, \param{char }{ret}}
|
||||
@@ -246,6 +253,21 @@ to specify a user and a password.
|
||||
|
||||
% ----------------------------------------------------------------------------
|
||||
|
||||
\membersection{wxFTP::FileExists}\label{wxftpfileexists}
|
||||
|
||||
\func{bool}{FileExists}{\param{const wxString\&}{ filename}}
|
||||
|
||||
Returns {\tt TRUE} if the given remote file exists, {\tt FALSE} otherwise.
|
||||
|
||||
\membersection{wxFTP::GetFileSize}\label{wxftpgetfilesize}
|
||||
|
||||
\func{int}{GetFileSize}{\param{const wxString\&}{ filename}}
|
||||
|
||||
Returns the file size in bytes or $-1$ if the file doesn't exist or the size
|
||||
couldn't be determined. Notice that this size can be approximative size only
|
||||
and shouldn't be used for allocating the buffer in which the remote file is
|
||||
copied, for example.
|
||||
|
||||
\membersection{wxFTP::GetDirList}\label{wxftpgetdirlist}
|
||||
|
||||
\func{bool}{GetDirList}{\param{wxArrayString\& }{files}, \param{const wxString\&}{ wildcard = ""}}
|
||||
|
Reference in New Issue
Block a user