1999-01-10 15:14:07 -05:00
|
|
|
\section{\class{wxFTP}}\label{wxftp}
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxProtocol}{wxprotocol}
|
|
|
|
|
1999-02-15 15:41:29 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/ftp.h>
|
|
|
|
|
1999-01-10 15:14:07 -05:00
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxSocketBase}{wxsocketbase}
|
|
|
|
|
|
|
|
% ----------------------------------------------------------------------------
|
|
|
|
% Members
|
|
|
|
% ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\membersection{Members}}}
|
|
|
|
|
|
|
|
\membersection{wxFTP::SendCommand}
|
|
|
|
|
1999-01-12 13:28:34 -05:00
|
|
|
\func{bool}{SendCommand}{\param{const wxString\&}{ command}, \param{char }{ret}}
|
1999-01-10 15:14:07 -05:00
|
|
|
|
|
|
|
Send the specified \it{command} to the FTP server. \it{ret} specifies
|
|
|
|
the expected result.
|
|
|
|
|
|
|
|
\wxheading{Return value}
|
|
|
|
|
|
|
|
TRUE, if the command has been sent successfully, else FALSE.
|
|
|
|
|
|
|
|
% ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
\membersection{wxFTP::GetLastResult}
|
|
|
|
|
|
|
|
\func{const wxString\&}{GetLastResult}{\void}
|
|
|
|
|
|
|
|
Returns the last command result.
|
|
|
|
|
|
|
|
% ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
\membersection{wxFTP::ChDir}
|
|
|
|
|
1999-01-12 13:28:34 -05:00
|
|
|
\func{bool}{ChDir}{\param{const wxString\&}{ dir}}
|
1999-01-10 15:14:07 -05:00
|
|
|
|
|
|
|
Change the current FTP working directory.
|
|
|
|
Returns TRUE, if successful.
|
|
|
|
|
|
|
|
\membersection{wxFTP::MkDir}
|
|
|
|
|
1999-01-12 13:28:34 -05:00
|
|
|
\func{bool}{MkDir}{\param{const wxString\&}{ dir}}
|
1999-01-10 15:14:07 -05:00
|
|
|
|
|
|
|
Create the specified directory in the current FTP working directory.
|
|
|
|
Returns TRUE, if successful.
|
|
|
|
|
|
|
|
\membersection{wxFTP::RmDir}
|
|
|
|
|
1999-01-12 13:28:34 -05:00
|
|
|
\func{bool}{RmDir}{\param{const wxString\&}{ dir}}
|
1999-01-10 15:14:07 -05:00
|
|
|
|
|
|
|
Remove the specified directory from the current FTP working directory.
|
|
|
|
Returns TRUE, if successful.
|
|
|
|
|
|
|
|
\membersection{wxFTP::Pwd}
|
|
|
|
|
|
|
|
\func{wxString}{Pwd}{\void}
|
|
|
|
|
|
|
|
Returns the current FTP working directory.
|
|
|
|
|
|
|
|
% ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
\membersection{wxFTP::Rename}
|
|
|
|
|
1999-01-12 13:28:34 -05:00
|
|
|
\func{bool}{Rename}{\param{const wxString\&}{ src}, \param{const wxString\&}{ dst}}
|
1999-01-10 15:14:07 -05:00
|
|
|
|
|
|
|
Rename the specified \it{src} element into \it{dst}
|
|
|
|
Returns TRUE, if successful.
|
|
|
|
|
|
|
|
% ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
\membersection{wxFTP::RmFile}
|
|
|
|
|
1999-01-12 13:28:34 -05:00
|
|
|
\func{bool}{RmFile}{\param{const wxString\&}{ path}}
|
1999-01-10 15:14:07 -05:00
|
|
|
|
|
|
|
Delete the file specified by \it{path}.
|
|
|
|
Returns TRUE, if successful.
|
|
|
|
|
|
|
|
% ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
\membersection{wxFTP::GetOutputStream}
|
|
|
|
|
1999-01-12 13:28:34 -05:00
|
|
|
\func{wxOutputStream *}{GetOutputStream}{\param{const wxString\&}{ file}}
|
1999-01-10 15:14:07 -05:00
|
|
|
|
|
|
|
Initializes an output stream to the specified \it{file}. The returned
|
1999-01-12 13:28:34 -05:00
|
|
|
stream has all but the seek functionality of wxStreams. When the user finishes
|
1999-01-10 15:14:07 -05:00
|
|
|
writing data, he has to delete the stream to close it.
|
|
|
|
|
|
|
|
\wxheading{Return value}
|
|
|
|
|
|
|
|
An initialized write-only stream.
|
1999-01-12 13:28:34 -05:00
|
|
|
|
1999-02-10 15:01:06 -05:00
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxOutputStream}{wxoutputstream}
|