]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/ftp.tex
a bit more docs
[wxWidgets.git] / docs / latex / wx / ftp.tex
CommitLineData
7d2946d2
GL
1\section{\class{wxFTP}}\label{wxftp}
2
3\wxheading{Derived from}
4
5\helpref{wxProtocol}{wxprotocol}
6
7\wxheading{See also}
8
9\helpref{wxSocketBase}{wxsocketbase}
10
11% ----------------------------------------------------------------------------
12% Members
13% ----------------------------------------------------------------------------
14
15\latexignore{\rtfignore{\membersection{Members}}}
16
17\membersection{wxFTP::SendCommand}
18
6be663cf 19\func{bool}{SendCommand}{\param{const wxString\&}{ command}, \param{char }{ret}}
7d2946d2
GL
20
21Send the specified \it{command} to the FTP server. \it{ret} specifies
22the expected result.
23
24\wxheading{Return value}
25
26TRUE, if the command has been sent successfully, else FALSE.
27
28% ----------------------------------------------------------------------------
29
30\membersection{wxFTP::GetLastResult}
31
32\func{const wxString\&}{GetLastResult}{\void}
33
34Returns the last command result.
35
36% ----------------------------------------------------------------------------
37
38\membersection{wxFTP::ChDir}
39
6be663cf 40\func{bool}{ChDir}{\param{const wxString\&}{ dir}}
7d2946d2
GL
41
42Change the current FTP working directory.
43Returns TRUE, if successful.
44
45\membersection{wxFTP::MkDir}
46
6be663cf 47\func{bool}{MkDir}{\param{const wxString\&}{ dir}}
7d2946d2
GL
48
49Create the specified directory in the current FTP working directory.
50Returns TRUE, if successful.
51
52\membersection{wxFTP::RmDir}
53
6be663cf 54\func{bool}{RmDir}{\param{const wxString\&}{ dir}}
7d2946d2
GL
55
56Remove the specified directory from the current FTP working directory.
57Returns TRUE, if successful.
58
59\membersection{wxFTP::Pwd}
60
61\func{wxString}{Pwd}{\void}
62
63Returns the current FTP working directory.
64
65% ----------------------------------------------------------------------------
66
67\membersection{wxFTP::Rename}
68
6be663cf 69\func{bool}{Rename}{\param{const wxString\&}{ src}, \param{const wxString\&}{ dst}}
7d2946d2
GL
70
71Rename the specified \it{src} element into \it{dst}
72Returns TRUE, if successful.
73
74% ----------------------------------------------------------------------------
75
76\membersection{wxFTP::RmFile}
77
6be663cf 78\func{bool}{RmFile}{\param{const wxString\&}{ path}}
7d2946d2
GL
79
80Delete the file specified by \it{path}.
81Returns TRUE, if successful.
82
83% ----------------------------------------------------------------------------
84
85\membersection{wxFTP::GetOutputStream}
86
6be663cf 87\func{wxOutputStream *}{GetOutputStream}{\param{const wxString\&}{ file}}
7d2946d2
GL
88
89Initializes an output stream to the specified \it{file}. The returned
6be663cf 90stream has all but the seek functionality of wxStreams. When the user finishes
7d2946d2
GL
91writing data, he has to delete the stream to close it.
92
93\wxheading{Return value}
94
95An initialized write-only stream.
6be663cf 96