From a68010a15309797031f6cdf1d466ea4ed5e26d9b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 11 Nov 2002 22:54:20 +0000 Subject: [PATCH] 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 --- docs/latex/wx/ftp.tex | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/latex/wx/ftp.tex b/docs/latex/wx/ftp.tex index eb0bf3fe87..def46870b0 100644 --- a/docs/latex/wx/ftp.tex +++ b/docs/latex/wx/ftp.tex @@ -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 = ""}}