Ftp Class Reference
#include <ftp.h>
List of all members.
|
Public Member Functions |
virtual void | chmod (const KURL &url, int permissions) |
virtual void | closeConnection () |
virtual void | copy (const KURL &src, const KURL &dest, int permissions, bool overwrite) |
virtual void | del (const KURL &url, bool isfile) |
| Ftp (const QCString &pool, const QCString &app) |
virtual void | get (const KURL &url) |
virtual void | listDir (const KURL &url) |
virtual void | mkdir (const KURL &url, int permissions) |
virtual void | openConnection () |
virtual void | put (const KURL &url, int permissions, bool overwrite, bool resume) |
virtual void | rename (const KURL &src, const KURL &dest, bool overwrite) |
virtual void | setHost (const QString &host, int port, const QString &user, const QString &pass) |
virtual void | slave_status () |
virtual void | stat (const KURL &url) |
virtual | ~Ftp () |
Detailed Description
Definition at line 236 of file ftp.h.
Constructor & Destructor Documentation
Member Function Documentation
void Ftp::chmod |
( |
const KURL & |
url, |
|
|
int |
permissions | |
|
) |
| | [virtual] |
void Ftp::closeConnection |
( |
|
) |
[virtual] |
Closes the connection.
Definition at line 394 of file ftp.cc.
void Ftp::copy |
( |
const KURL & |
src, |
|
|
const KURL & |
dest, |
|
|
int |
permissions, |
|
|
bool |
overwrite | |
|
) |
| | [virtual] |
Handles the case that one side of the job is a local file.
Definition at line 2465 of file ftp.cc.
void Ftp::del |
( |
const KURL & |
url, |
|
|
bool |
isfile | |
|
) |
| | [virtual] |
void Ftp::get |
( |
const KURL & |
url |
) |
[virtual] |
void Ftp::listDir |
( |
const KURL & |
url |
) |
[virtual] |
void Ftp::mkdir |
( |
const KURL & |
url, |
|
|
int |
permissions | |
|
) |
| | [virtual] |
void Ftp::openConnection |
( |
|
) |
[virtual] |
Connects to a ftp server and logs us in m_bLoggedOn is set to true if logging on was successful.
It is set to false if the connection becomes closed.
Definition at line 434 of file ftp.cc.
void Ftp::put |
( |
const KURL & |
url, |
|
|
int |
permissions, |
|
|
bool |
overwrite, |
|
|
bool |
resume | |
|
) |
| | [virtual] |
void Ftp::rename |
( |
const KURL & |
src, |
|
|
const KURL & |
dest, |
|
|
bool |
overwrite | |
|
) |
| | [virtual] |
void Ftp::setHost |
( |
const QString & |
host, |
|
|
int |
port, |
|
|
const QString & |
user, |
|
|
const QString & |
pass | |
|
) |
| | [virtual] |
void Ftp::slave_status |
( |
|
) |
[virtual] |
void Ftp::stat |
( |
const KURL & |
url |
) |
[virtual] |
The documentation for this class was generated from the following files: