The QFtp class implements the FTP protocol.
More...
#include <qftp.h>
Inherits QNetworkProtocol.
List of all member functions.
Public Members
Protected Members
- void parseDir ( const QString & buffer, QUrlInfo & info )
Protected Slots
Detailed Description
The QFtp class implements the FTP protocol
The QFtp class implements the FTP protocol. This class
is derived from QNetworkProtocol and can be
used with QUrlOperator. In fact, you normally will not
use the QFtp class directly, but rather use it through
the QUrlOperator like
QUrlOperator op( "ftp://ftp.trolltech.com" );
op.listChildren();
If you really need to use QFtp directly, don't forget
to set the QUrlOperator on which it works using
setUrl().
See also the Qt Network Documentation
See also QNetworkProtocol and QUrlOperator.
Member Function Documentation
QFtp::QFtp ()
Constructs a QFtp object.
QFtp::~QFtp () [virtual]
Destructor
void QFtp::dataBytesWritten ( int nbytes ) [protected slot]
This method is called, when nbytes have been successfully written to the
data socket.
void QFtp::dataClosed () [protected slot]
Called when the data connection has been closed
void QFtp::dataConnected () [protected slot]
Some operations require a data connection to the server. If this connection
could be opened, this method handles the rest.
void QFtp::dataReadyRead () [protected slot]
This method is called when new data arrived on the data socket.
void QFtp::parseDir ( const QString & buffer, QUrlInfo & info ) [protected]
Parses buffer, which is one line of a directory list
which came from the FTP server, and sets the
values which have been parsed to info.
void QFtp::readyRead () [protected slot]
If data arrived on the command socket, this slot is called. It looks at
the data and passes it to the correct method which can handle it
This file is part of the Qtopia platform,
copyright © 1995-2005
Trolltech, all rights reserved.
| Copyright © 2005 Trolltech
| Trademarks
| Qtopia version 2.2.0
|