Home · All Classes · Modules

QFtp Class Reference
[QtNetwork module]

Inherits QObject.

Types

Methods

Qt Signals


Detailed Description


Type Documentation

QFtp.Command

QFtp.Error

QFtp.State

QFtp.TransferMode

QFtp.TransferType


Method Documentation

QFtp.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QFtp.abort (self)

This method is also a Qt slot with the C++ signature void abort().

int QFtp.bytesAvailable (self)

int QFtp.cd (self, QString)

QFtp.clearPendingCommands (self)

int QFtp.close (self)

int QFtp.connectToHost (self, QString, int port = 21)

Command QFtp.currentCommand (self)

QIODevice QFtp.currentDevice (self)

int QFtp.currentId (self)

Error QFtp.error (self)

QString QFtp.errorString (self)

int QFtp.get (self, QString, QIODevice device = None, TransferType type = QFtp.Binary)

bool QFtp.hasPendingCommands (self)

int QFtp.list (self, QString directory = QString())

int QFtp.login (self, QString user = QString(), QString password = QString())

int QFtp.mkdir (self, QString)

int QFtp.put (self, QByteArray, QString, TransferType type = QFtp.Binary)

int QFtp.put (self, QIODevice, QString, TransferType type = QFtp.Binary)

int QFtp.rawCommand (self, QString)

str QFtp.read (self, int maxlen)

QByteArray QFtp.readAll (self)

int QFtp.remove (self, QString)

int QFtp.rename (self, QString, QString)

int QFtp.rmdir (self, QString)

int QFtp.setProxy (self, QString, int)

int QFtp.setTransferMode (self, TransferMode)

State QFtp.state (self)


Qt Signal Documentation

void commandFinished (int,bool)

This is the default overload of this signal.

void commandStarted (int)

This is the default overload of this signal.

void dataTransferProgress (qint64,qint64)

This is the default overload of this signal.

void done (bool)

This is the default overload of this signal.

void listInfo (const QUrlInfo&)

This is the default overload of this signal.

void rawCommandReply (int,const QString&)

This is the default overload of this signal.

void readyRead ()

This is the default overload of this signal.

void stateChanged (int)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0