NAME

Qt::Network::QFtp

PUBLIC METHODS

QFtp(QObject * parent = 0)
QFtp(QObject * parent)
~QFtp()
void abort()
qint64 bytesAvailable()
int cd(const QString & dir)
void clearPendingCommands()
int close()
int connectToHost(const QString & host, quint16 port = 21)
int connectToHost(const QString & host, quint16 port)
QFtp::Command currentCommand()
QIODevice * currentDevice()
int currentId()
QFtp::Error error()
QString errorString()
int get(const QString & file, QIODevice * dev, QFtp::TransferType type = QFtp::Binary)
int get(const QString & file, QIODevice * dev, QFtp::TransferType type)
int get(const QString & file, QIODevice * dev = 0, QFtp::TransferType type = QFtp::Binary)
int get(const QString & file, QIODevice * dev, QFtp::TransferType type = QFtp::Binary)
bool hasPendingCommands()
int list(const QString & dir = QString())
int list(const QString & dir)
int login(const QString & user, const QString & password = QString())
int login(const QString & user, const QString & password)
int login(const QString & user = QString(), const QString & password = QString())
int login(const QString & user, const QString & password = QString())
int mkdir(const QString & dir)
int put(const QByteArray & data, const QString & file, QFtp::TransferType type = QFtp::Binary)
int put(const QByteArray & data, const QString & file, QFtp::TransferType type)
int put(QIODevice * dev, const QString & file, QFtp::TransferType type = QFtp::Binary)
int put(QIODevice * dev, const QString & file, QFtp::TransferType type)
int rawCommand(const QString & command)
qint64 read(char * data, qint64 maxlen)
QByteArray readAll()
int remove(const QString & file)
int rename(const QString & oldname, const QString & newname)
int rmdir(const QString & dir)
int setProxy(const QString & host, quint16 port)
int setTransferMode(QFtp::TransferMode mode)
QFtp::State state()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html