Public Member Functions | |
| ODFtp () | |
| ~ODFtp () | |
| int | connectToHost (const char *host, int port=21) |
| int | login (const char *usrnm=0, const char *passwd=0) |
| int | close () |
| void | abort () |
| bool | hasPendingCommands () const |
| int | get (const char *file, const char *dest) |
| int | put (const char *file) |
| int | cd (const char *dir) |
| int | list () |
| int | rename (const char *oldname, const char *newname) |
| int | remove (const char *file) |
| int | mkdir (const char *dir) |
| int | rmdir (const char *dir) |
| od_int64 | bytesAvailable () const |
| BufferString | readBuffer () const |
| od_int64 | nrDone () const |
| od_int64 | totalNr () const |
| const BufferStringSet & | files () const |
| const bool | isOK () const |
| void | setMessage (const char *) |
| const char * | message () const |
| const int | commandID () const |
Public Attributes | |
| Notifier< ODFtp > | messageReady |
| Notifier< ODFtp > | connected |
| Notifier< ODFtp > | disconnected |
| Notifier< ODFtp > | loginDone |
| Notifier< ODFtp > | dataTransferProgress |
| Notifier< ODFtp > | transferDone |
| Notifier< ODFtp > | readyRead |
| Notifier< ODFtp > | listReady |
| Notifier< ODFtp > | done |
| Notifier< ODFtp > | commandStarted |
| Notifier< ODFtp > | commandFinished |
Protected Member Functions | |
| void | transferDoneCB (CallBacker *) |
Protected Attributes | |
| QFtp * | qftp_ |
| QFtpConnector * | qftpconn_ |
| TypeSet< int > | getids_ |
| ObjectSet< QFile > | qfiles_ |
| bool | error_ |
| BufferString | message_ |
| od_int64 | nrdone_ |
| od_int64 | totalnr_ |
| int | commandid_ |
| int | connectionstate_ |
| BufferStringSet | files_ |
Friends | |
| class | QFtpConnector |
| ODFtp::ODFtp | ( | ) |
| ODFtp::~ODFtp | ( | ) |
| void ODFtp::abort | ( | ) |
| od_int64 ODFtp::bytesAvailable | ( | ) | const |
| int ODFtp::cd | ( | const char * | dir | ) |
| int ODFtp::close | ( | ) |
| const int ODFtp::commandID | ( | ) | const [inline] |
| int ODFtp::connectToHost | ( | const char * | host, | |
| int | port = 21 | |||
| ) |
| const BufferStringSet& ODFtp::files | ( | ) | const [inline] |
| int ODFtp::get | ( | const char * | file, | |
| const char * | dest | |||
| ) |
| bool ODFtp::hasPendingCommands | ( | ) | const |
| const bool ODFtp::isOK | ( | ) | const [inline] |
| int ODFtp::list | ( | ) |
| int ODFtp::login | ( | const char * | usrnm = 0, |
|
| const char * | passwd = 0 | |||
| ) |
| const char* ODFtp::message | ( | ) | const [inline] |
| int ODFtp::mkdir | ( | const char * | dir | ) |
| od_int64 ODFtp::nrDone | ( | ) | const [inline] |
| int ODFtp::put | ( | const char * | file | ) |
| BufferString ODFtp::readBuffer | ( | ) | const |
| int ODFtp::remove | ( | const char * | file | ) |
| int ODFtp::rename | ( | const char * | oldname, | |
| const char * | newname | |||
| ) |
| int ODFtp::rmdir | ( | const char * | dir | ) |
| void ODFtp::setMessage | ( | const char * | ) |
| od_int64 ODFtp::totalNr | ( | ) | const [inline] |
| void ODFtp::transferDoneCB | ( | CallBacker * | ) | [protected] |
friend class QFtpConnector [friend] |
int ODFtp::commandid_ [protected] |
int ODFtp::connectionstate_ [protected] |
bool ODFtp::error_ [protected] |
BufferStringSet ODFtp::files_ [protected] |
TypeSet<int> ODFtp::getids_ [protected] |
BufferString ODFtp::message_ [protected] |
od_int64 ODFtp::nrdone_ [protected] |
ObjectSet<QFile> ODFtp::qfiles_ [protected] |
QFtp* ODFtp::qftp_ [protected] |
QFtpConnector* ODFtp::qftpconn_ [protected] |
od_int64 ODFtp::totalnr_ [protected] |
1.7.1