1 \section{\class{wxFTP
}}\label{wxftp
}
3 \wxheading{Derived from
}
5 \helpref{wxProtocol
}{wxprotocol
}
9 \helpref{wxSocketBase
}{wxsocketbase
}
11 % ----------------------------------------------------------------------------
13 % ----------------------------------------------------------------------------
15 \latexignore{\rtfignore{\membersection{Members
}}}
17 \membersection{wxFTP::SendCommand
}
19 \func{bool
}{SendCommand
}{\param{const wxString\&
}{ command
},
\param{char
}{ret
}}
21 Send the specified
\it{command
} to the FTP server.
\it{ret
} specifies
24 \wxheading{Return value
}
26 TRUE, if the command has been sent successfully, else FALSE.
28 % ----------------------------------------------------------------------------
30 \membersection{wxFTP::GetLastResult
}
32 \func{const wxString\&
}{GetLastResult
}{\void}
34 Returns the last command result.
36 % ----------------------------------------------------------------------------
38 \membersection{wxFTP::ChDir
}
40 \func{bool
}{ChDir
}{\param{const wxString\&
}{ dir
}}
42 Change the current FTP working directory.
43 Returns TRUE, if successful.
45 \membersection{wxFTP::MkDir
}
47 \func{bool
}{MkDir
}{\param{const wxString\&
}{ dir
}}
49 Create the specified directory in the current FTP working directory.
50 Returns TRUE, if successful.
52 \membersection{wxFTP::RmDir
}
54 \func{bool
}{RmDir
}{\param{const wxString\&
}{ dir
}}
56 Remove the specified directory from the current FTP working directory.
57 Returns TRUE, if successful.
59 \membersection{wxFTP::Pwd
}
61 \func{wxString
}{Pwd
}{\void}
63 Returns the current FTP working directory.
65 % ----------------------------------------------------------------------------
67 \membersection{wxFTP::Rename
}
69 \func{bool
}{Rename
}{\param{const wxString\&
}{ src
},
\param{const wxString\&
}{ dst
}}
71 Rename the specified
\it{src
} element into
\it{dst
}
72 Returns TRUE, if successful.
74 % ----------------------------------------------------------------------------
76 \membersection{wxFTP::RmFile
}
78 \func{bool
}{RmFile
}{\param{const wxString\&
}{ path
}}
80 Delete the file specified by
\it{path
}.
81 Returns TRUE, if successful.
83 % ----------------------------------------------------------------------------
85 \membersection{wxFTP::GetOutputStream
}
87 \func{wxOutputStream *
}{GetOutputStream
}{\param{const wxString\&
}{ file
}}
89 Initializes an output stream to the specified
\it{file
}. The returned
90 stream has all but the seek functionality of wxStreams. When the user finishes
91 writing data, he has to delete the stream to close it.
93 \wxheading{Return value
}
95 An initialized write-only stream.