QFtp(3qt)

πŸ“¦ version 3.3.8b, in fedora 43, fedora 44

πŸ’– QFtp πŸ’– (3qt)

okay bestie, sit DOWN, because today we're talking about the FTP protocol implementation that ships in Qt, and honestly? it's giving vintage-but-iconic. this is QFtp(3qt) and it's about to be your new hyperfixation. πŸ¦‹


✨ NAME ✨

QFtp β€” an implementation of the FTP protocol. that's it, that's the whole vibe. no cap.


🌸 SYNOPSIS 🌸

#include <qftp.h>

it inherits from QNetworkProtocol, which is a whole mood.

πŸ’… Public Members πŸ’…

QFtp ()
QFtp ( QObject * parent, const char * name = 0 )
virtual ~QFtp ()
enum State { Unconnected, HostLookup, Connecting, Connected, LoggedIn,
    Closing }
enum Error { NoError, UnknownError, HostNotFound, ConnectionRefused,
    NotConnected }
enum Command { None, ConnectToHost, Login, Close, List, Cd, Get, Put,
    Remove, Mkdir, Rmdir, Rename, RawCommand }
int connectToHost ( const QString & host, Q_UINT16 port = 21 )
int login ( const QString & user = QString::null, const QString &
    password = QString::null )
int close ()
int list ( const QString & dir = QString::null )
int cd ( const QString & dir )
int get ( const QString & file, QIODevice * dev = 0 )
int put ( const QByteArray & data, const QString & file )
int put ( QIODevice * dev, const QString & file )
int remove ( const QString & file )
int mkdir ( const QString & dir )
int rmdir ( const QString & dir )
int rename ( const QString & oldname, const QString & newname )
int rawCommand ( const QString & command )
Q_ULONG bytesAvailable () const
Q_LONG readBlock ( char * data, Q_ULONG maxlen )
QByteArray readAll ()
int currentId () const
QIODevice * currentDevice () const
Command currentCommand () const
bool hasPendingCommands () const
void clearPendingCommands ()
State state () const
Error error () const
QString errorString () const

πŸŽ€ Public Slots πŸŽ€

void abort ()

⭐ Signals ⭐

void stateChanged ( int state )
void listInfo ( const QUrlInfo & i )
void readyRead ()
void dataTransferProgress ( int done, int total )
void rawCommandReply ( int replyCode, const QString & detail )
void commandStarted ( int id )
void commandFinished ( int id, bool error )
void done ( bool error )

🌈 DESCRIPTION 🌈

the QFtp class provides an implementation of the FTP protocol. periodt.

this class hands you two different interfaces, and the way that it does that is honestly so versatile of it:

  • one is the QNetworkProtocol interface, which lets you use FTP through the QUrlOperator abstraction ✨
  • the other is a direct interface to FTP, which gives you lower-level access to the FTP protocol so you get finer control. and with the direct interface you can also execute arbitrary FTP commands, which is main character energy fr fr.
do NOT mix the two interfaces. the behavior is not well-defined and we do not do that here. πŸ™ˆ

if you want to use QFtp with the QNetworkProtocol interface, you don't use it directly β€” you use it through a QUrlOperator, like this:

QUrlOperator op( "ftp://ftp.trolltech.com" );
op.listChildren(); // Asks the server to provide a directory listing

this code will only work if the QFtp class is registered. to register the class you must call qInitNetworkProtocols() before using a QUrlOperator with QFtp. iykyk.

the rest of this descrption describes the direct interface to FTP. (yes, the original says "descrption", we are keeping the chaos, we don't fix what's iconic)

the class works asynchronously, so there are no blocking functions. if an operation cannot be executed immediately, the function will still return straight away and the operation will be scheduled for later execution. the results of scheduled operations are reported via signals. this approach depends on the event loop being in operation. πŸ‘‘

the operations that can be scheduled (they are called "commands" in the rest of the documentation) are the following: connectToHost(), login(), close(), list(), cd(), get(), put(), remove(), mkdir(), rmdir(), rename() and rawCommand().

all of these commands return a unique identifier that allows you to keep track of the command that is currently being executed. when the execution of a command starts, the commandStarted() signal with the command's identifier is emitted. when the command is finished, the commandFinished() signal is emitted with the command's identifier and a bool that indicates whether the command finished with an error. 🫢

in some cases, you might want to execute a sequence of commands, e.g. if you want to connect and login to a FTP server. this is simply achieved:

QFtp *ftp = new QFtp( this ); // this is an optional QObject parent
ftp->connectToHost( "ftp.trolltech.com" );
ftp->login();

in this case two FTP commands have been scheduled. when the last scheduled command has finished, a done() signal is emitted with a bool argument that tells you whether the sequence finished with an error.

if an error occurs during the execution of one of the commands in a sequence of commands, all the pending commands (i.e. scheduled, but not yet executed commands) are cleared and no signals are emitted for them. 😭

some commands, e.g. list(), emit additional signals to report their results.

example: if you want to download the INSTALL file from Trolltech's FTP server, you would write this:

ftp->connectToHost( "ftp.trolltech.com" );  // id == 1
ftp->login();                               // id == 2
ftp->cd( "qt" );                            // id == 3
ftp->get( "INSTALL" );                      // id == 4
ftp->close();                               // id == 5

for this example the following sequence of signals is emitted (with small variations, depending on network traffic, etc.):

start( 1 )
stateChanged( HostLookup )
stateChanged( Connecting )
stateChanged( Connected )
finished( 1, FALSE )
start( 2 )
stateChanged( LoggedIn )
finished( 2, FALSE )
start( 3 )
finished( 3, FALSE )
start( 4 )
dataTransferProgress( 0, 3798 )
dataTransferProgress( 2896, 3798 )
readyRead()
dataTransferProgress( 3798, 3798 )
readyRead()
finished( 4, FALSE )
start( 5 )
stateChanged( Closing )
stateChanged( Unconnected )
finished( 5, FALSE )
done( FALSE )

the dataTransferProgress() signal in the above example is useful if you want to show a progressbar to inform the user about the progress of the download. the readyRead() signal tells you that there is data ready to be read. the amount of data can be queried then with the bytesAvailable() function and it can be read with the readBlock() or readAll() function. πŸ’–

if the login fails for the above example, the signals would look like this:

start( 1 )
stateChanged( HostLookup )
stateChanged( Connecting )
stateChanged( Connected )
finished( 1, FALSE )
start( 2 )
finished( 2, TRUE )
done( TRUE )

you can then get details about the error with the error() and errorString() functions.

the functions currentId() and currentCommand() provide more information about the currently executing command.

the functions hasPendingCommands() and clearPendingCommands() allow you to query and clear the list of pending commands.

the safest and easiest way to use the FTP protocol is to use QUrlOperator() or the FTP commands described above. if you are an experienced network programmer and want to have complete control you can use rawCommand() to execute arbitrary FTP commands. πŸ”₯

see also Qt Network Documentation, QNetworkProtocol, QUrlOperator, QHttp, and Input/Output and Networking.


🧚 Member Type Documentation 🧚

QFtp::Command

this enum is used as the return value for the currentCommand() function. this allows you to perform specific actions for particular commands, e.g. in a FTP client, you might want to clear the directory view when a list() command is started; in this case you can simply check in the slot connected to the start() signal if the currentCommand() is List. big brain move ngl.

  • QFtp::None β€” No command is being executed.
  • QFtp::ConnectToHost β€” connectToHost() is being executed.
  • QFtp::Login β€” login() is being executed.
  • QFtp::Close β€” close() is being executed.
  • QFtp::List β€” list() is being executed.
  • QFtp::Cd β€” cd() is being executed.
  • QFtp::Get β€” get() is being executed.
  • QFtp::Put β€” put() is being executed.
  • QFtp::Remove β€” remove() is being executed.
  • QFtp::Mkdir β€” mkdir() is being executed.
  • QFtp::Rmdir β€” rmdir() is being executed.
  • QFtp::Rename β€” rename() is being executed.
  • QFtp::RawCommand β€” rawCommand() is being executed.

see also currentCommand().

QFtp::Error

this enum identifies the error that occurred.

  • QFtp::NoError β€” No error occurred.
  • QFtp::HostNotFound β€” The host name lookup failed.
  • QFtp::ConnectionRefused β€” The server refused the connection.
  • QFtp::NotConnected β€” Tried to send a command, but there is no connection to a server.
  • QFtp::UnknownError β€” An error other than those specified above occurred.

see also error().

QFtp::State

this enum defines the connection state:

  • QFtp::Unconnected β€” There is no connection to the host.
  • QFtp::HostLookup β€” A host name lookup is in progress.
  • QFtp::Connecting β€” An attempt to connect to the host is in progress.
  • QFtp::Connected β€” Connection to the host has been achieved.
  • QFtp::LoggedIn β€” Connection and user login have been achieved.
  • QFtp::Closing β€” The connection is closing down, but it is not yet closed. (The state will be Unconnected when the connection is closed.)

see also stateChanged() and state().


πŸ‘‘ MEMBER FUNCTION DOCUMENTATION πŸ‘‘

QFtp::QFtp ()

Constructs a QFtp object. ✨

QFtp::QFtp ( QObject * parent, const char * name = 0 )

Constructs a QFtp object. The parent and name parameters are passed to the QObject constructor.

QFtp::~QFtp () [virtual]

Destructor. 🫑

void QFtp::abort () [slot]

Aborts the current command and deletes all scheduled commands.

if there is an unfinished command (i.e. a command for which the commandStarted() signal has been emitted, but for which the commandFinished() signal has not been emitted), this function sends an ABORT command to the server. when the server replies that the command is aborted, the commandFinished() signal with the error argument set to TRUE is emitted for the command. due to timing issues, it is possible that the command had already finished before the abort request reached the server, in which case, the commandFinished() signal is emitted with the error argument set to FALSE. πŸ’€ timing is everything bestie.

for all other commands that are affected by the abort(), no signals are emitted.

if you don't start further FTP commands directly after the abort(), there won't be any scheduled commands and the done() signal is emitted.

Warning: Some FTP servers, for example the BSD FTP daemon (version 0.3), wrongly return a positive reply even when an abort has occurred. For these servers the commandFinished() signal has its error flag set to FALSE, even though the command did not complete successfully. 😭

see also clearPendingCommands().

Example: network/ftpclient/ftpmainwindow.ui.h.


okay and that's just the first chunk of this masterpiece β€” there's MORE coming, don't you dare close the tab πŸŽ€

Q_ULONG QFtp::bytesAvailable () const Returns the number of bytes that can be read from the data socket at the moment.

See also get(), readyRead(), readBlock(), and readAll().

Q_ULONG QFtp::bytesAvailable () const β€” okay bestie, this one is literally just "how many bytes are sitting in the data socket right this second? πŸ‘€" That's it. That's the function.

It's a const member so it won't mess with anything, it just peeks. ✨

🫢 peep get(), readyRead(), readBlock() and readAll() too, they're the whole squad here.

int QFtp::cd ( const QString & dir ) β€” changes the working directory of the server to dir. 🌸

Okay so the vibe here: this does not block, it returns immediately. The command gets scheduled and runs asynchronously in the background like the main character it is. πŸ’…

It hands you back a unique identifier β€” that id gets passed along by commandStarted() and commandFinished() so you know which command is which. No cap. πŸ”₯

  • when the command starts β†’ commandStarted() signal fires πŸ“£
  • when it's finished β†’ commandFinished() signal fires βœ…
see also commandStarted() and commandFinished()

Example: network/ftpclient/ftpmainwindow.ui.h πŸŽ€


void QFtp::clearPendingCommands () β€” deletes all the pending commands from the list of scheduled commands. 🧹

BUT β€” and this is the important bit, bestie β€” it does not touch the command that is currently being executed. That one's out there living its life. 😭

If you want to stop that one too, use abort(). periodt.

see also hasPendingCommands() and abort()

int QFtp::close () β€” closes the connection to the FTP server. bye bestie πŸ‘‹πŸ’”

The stateChanged() signal fires whenever the state of the connecting process changes, like going to Closing, then Unconnected.

This one does not block either β€” returns immediately, command is scheduled, execution is asynchronous. You get back a unique identifier that's passed by commandStarted() and commandFinished(). ✨

  • command starts β†’ commandStarted() πŸ“£
  • command finishes β†’ commandFinished() βœ…
see also stateChanged(), commandStarted() and commandFinished()

Example: network/ftpclient/ftpmainwindow.ui.h 🌈


void QFtp::commandFinished ( int id, bool error ) [signal] β€” this signal fires when processing the command identified by id has finished. 🏁

error is TRUE if an error happened during processing, otherwise it's FALSE. simple as that. πŸ’…

see also commandStarted(), done(), error() and errorString()

Example: network/ftpclient/ftpmainwindow.ui.h πŸ¦‹


void QFtp::commandStarted ( int id ) [signal] β€” this signal fires when processing the command identified by id starts. 🎬 it's giving "and so it begins" energy fr fr

see also commandFinished() and done()

Example: network/ftpclient/ftpmainwindow.ui.h ⭐


int QFtp::connectToHost ( const QString & host, Q_UINT16 port = 21 ) β€” connects to the FTP server host using port port. πŸ”Œβœ¨

Default port is 21, classic.

The stateChanged() signal fires as the connecting process changes state β€” like HostLookup, then Connecting, then Connected. the glow-up arc honestly πŸ’–

Not blocking, returns immediately, scheduled + asynchronous. You get a unique identifier passed by commandStarted() and commandFinished().

  • started β†’ commandStarted() πŸ“£
  • finished β†’ commandFinished() βœ…
see also stateChanged(), commandStarted() and commandFinished()

Example: network/ftpclient/ftpmainwindow.ui.h πŸ‘‘


Command QFtp::currentCommand () const β€” returns the command type of the FTP command being executed right now, or None if there's literally no command being executed. πŸ™ˆ

see also currentId()

Example: network/ftpclient/ftpmainwindow.ui.h πŸ’œ


QIODevice * QFtp::currentDevice () const β€” hands you the QIODevice pointer that the FTP command uses to read data from or store data to. πŸ“‚

If there's no current FTP command being executed, or the command doesn't use an IO device, this returns 0. zero. nada. πŸ«₯

Lowkey the cutest use case: you can call this to delete the QIODevice in the slot you connected to the commandFinished() signal. clean-up queen behavior πŸ’…

see also get() and put()

Example: network/ftpclient/ftpmainwindow.ui.h πŸŽ€


int QFtp::currentId () const β€” returns the identifier of the FTP command being executed, or 0 if nothing's being executed. πŸ†”

see also currentCommand()

void QFtp::dataTransferProgress ( int done, int total ) [signal] β€” this signal fires in response to a get() or put() request, so you can track the current progress of the download or upload. πŸ“₯πŸ“€ iconic.

  • done = the amount of data that's already been transferred βœ…
  • total = the total amount of data to be read or written 🎯

It's possible that the QFtp class can't figure out the total amount of data that should be transferred, and in that case total is 0. (If you connect this signal to a QProgressBar, the progress bar shows a busy indicator when the total is 0. cute right?) ✨

Warning: done and total are not necessarily the size in bytes, since for large files these values might need to be "scaled" to avoid overflow. ⚠️ keep that in mind bestie, don't come for me.
see also get(), put() and QProgressBar::progress

Example: network/ftpclient/ftpmainwindow.ui.h πŸ”₯


void QFtp::done ( bool error ) [signal] β€” this signal fires when the last pending command has finished 🏁 (and yes, it's emitted after the last command's commandFinished() signal, in case you were wondering about the order πŸ‘€).

error is TRUE if an error occurred during processing, otherwise FALSE.

see also commandFinished(), error() and errorString()

Example: network/ftpclient/ftpmainwindow.ui.h 🌟


Error QFtp::error () const β€” returns the last error that occurred. πŸ’€

Super useful when you get a commandFinished() or a done() signal with the error argument set to TRUE and you're like "okay but WHAT went wrong 😭" β€” this is your answer.

And heads up: if you start a new command, the error status resets to NoError. fresh start, we love to see it. 🧼


QString QFtp::errorString () const β€” returns a human-readable description of the last error that occurred. πŸ—£οΈπŸ’¬

Perfect for showing an error message to the user when you receive a commandFinished() or a done() signal with the error argument set to TRUE.

Now the technical tea β˜•: the error string is often (but not always) the reply from the server, so it's not always possible to translate the string. If the message comes from Qt, the string has already passed through tr(). iykyk 🌸

Example: network/ftpclient/ftpmainwindow.ui.h πŸ¦‹


int QFtp::get ( const QString & file, QIODevice * dev = 0 ) β€” downloads the file file from the server. πŸ“₯ the moment we've all been waiting for ✨

Two whole moods here, depending on dev:

  • if dev is 0 β†’ the readyRead() signal fires when there's data available to read, and you can then read it with the readBlock() or readAll() functions πŸ“–
  • if dev is not 0 β†’ the data gets written directly to the device dev πŸ“. Make sure that the dev pointer stays valid for the whole duration of the operation (it is safe to delete it when the commandFinished() signal is emitted). In this case the readyRead() signal is not emitted and you cannot read data with the readBlock() or readAll() functions. 🚫

And the timing tea 🍡: if you don't read the data immediately when it becomes available β€” i.e. when the readyRead() signal fires β€” it's still available until the next command is started. so you've got a little grace period, use it wisely πŸ’…

Example flow, bestie:

  • wanna show data to the user the second something's available? connect to readyRead() and read immediately πŸƒβ€β™€οΈ
  • only care about the complete data? connect to commandFinished() and read when the get() command is done πŸ§˜β€β™€οΈ

Not blocking, returns immediately, scheduled + asynchronous, hands you a unique identifier passed by commandStarted() and commandFinished().

  • started β†’ commandStarted() πŸ“£
  • finished β†’ commandFinished() βœ…
see also readyRead(), dataTransferProgress(), commandStarted() and commandFinished()

Example: network/ftpclient/ftpmainwindow.ui.h πŸŽ€


bool QFtp::hasPendingCommands () const β€” returns TRUE if there are any commands scheduled that haven't been executed yet, otherwise FALSE. πŸ™‹β€β™€οΈ

Important little detail: the command that's currently being executed does not count as a scheduled command. it's already out there, it's not waiting in line. 🎒

see also clearPendingCommands(), currentId() and currentCommand()

int QFtp::list ( const QString & dir = QString::null ) β€” lists the contents of directory dir on the FTP server. πŸ—‚οΈ If dir is empty, it lists the contents of the current directory. default behavior, love that for us.

The listInfo() signal fires for each directory entry found. every single one. no skipping ✨

Not blocking, returns immediately, scheduled + asynchronous, unique identifier passed by commandStarted() and commandFinished().

  • started β†’ commandStarted() πŸ“£
  • finished β†’ commandFinished() βœ…
see also listInfo(), commandStarted() and commandFinished()

Example: network/ftpclient/ftpmainwindow.ui.h 🌈


void QFtp::listInfo ( const QUrlInfo & i ) [signal] β€” this signal fires for each directory entry the list() command finds. πŸ” The details of the entry are stored in i. 🎁

see also list()

Example: network/ftpclient/ftpmainwindow.ui.h πŸ’–


int QFtp::login ( const QString & user = QString::null, const QString & password = QString::null ) β€” logs in to the FTP server with the username user and the password password. πŸ”βœ¨

The stateChanged() signal fires when the state of the connecting process changes, e.g. to LoggedIn. we made it inside πŸŽ‰

Not blocking, returns immediately, scheduled + asynchronous, unique identifier passed by commandStarted() and commandFinished().

  • started β†’ commandStarted() πŸ“£
  • finished β†’ commandFinished() βœ…
see also commandStarted() and commandFinished()

Example: network/ftpclient/ftpmainwindow.ui.h πŸ‘‘


int QFtp::mkdir ( const QString & dir ) β€” creates a directory called dir on the server. πŸ“βœ¨ new folder who dis

Not blocking, returns immediately, scheduled + asynchronous, unique identifier passed by commandStarted() and commandFinished().

  • started β†’ commandStarted() πŸ“£
  • finished β†’ commandFinished() βœ…
see also commandStarted() and commandFinished()

int QFtp::put ( QIODevice * dev, const QString & file ) β€” reads the data from the IO device dev, and writes it to the file called file on the server. πŸ“€ iconic upload behavior.

The data is read in chunks from the IO device, so this overload lets you transmit large amounts of data without needing to read all of it into memory at once. πŸ§ πŸ’« efficient queen.

Make sure that the dev pointer stays valid for the whole duration of the operation (it is safe to delete it when the commandFinished() is emitted). 🫢

Example: network/ftpclient/ftpmainwindow.ui.h πŸŽ€

  • int QFtp::put ( const QByteArray & data, const QString & file ) β€” bestie this is an overloaded member function, a little convenience one, and it behaves essentially like the above function πŸ’–

Writes the data data to the file called file on the server. The progress of the upload is reported by the dataTransferProgress() signal ✨

The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().

When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.

See also dataTransferProgress(), commandStarted(), and commandFinished().


  • int QFtp::rawCommand ( const QString & command ) β€” sends the raw FTP command command straight to the FTP server πŸ”₯ This is useful for low-level FTP access. If the operation you wish to perform has an equivalent QFtp function, we recommend using the function instead of raw FTP commands since the functions are easier and safer πŸ‘‘
ngl bestie, going raw is giving main character energy but it is not the safe route. Use the real functions when they exist, fr fr.

The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().

When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.

See also rawCommandReply(), commandStarted(), and commandFinished().

Example: network/ftpclient/ftpmainwindow.ui.h.


  • void QFtp::rawCommandReply ( int replyCode, const QString & detail ) [signal] β€” this signal is emitted in response to the rawCommand() function πŸ¦‹ replyCode is the 3 digit reply code and detail is the text that follows the reply code.

See also rawCommand().

Example: network/ftpclient/ftpmainwindow.ui.h.


  • QByteArray QFtp::readAll () β€” reads all the bytes available from the data socket and returns them πŸ’…

See also get(), readyRead(), bytesAvailable(), and readBlock().


  • Q_LONG QFtp::readBlock ( char * data, Q_ULONG maxlen ) β€” reads maxlen bytes from the data socket into data and returns the number of bytes read. Returns -1 if an error occurred 😭

See also get(), readyRead(), bytesAvailable(), and readAll().


  • void QFtp::readyRead () [signal] β€” this signal is emitted in response to a get() command when there is new data to read 🌸

If you specify a device as the second argument in the get() command, this signal is not emitted; instead the data is written directly to the device.

You can read the data with the readAll() or readBlock() functions.

This signal is useful if you want to process the data in chunks as soon as it becomes available. If you are only interested in the complete data, just connect to the commandFinished() signal and read the data then instead ✨

See also get(), readBlock(), readAll(), and bytesAvailable().


  • int QFtp::remove ( const QString & file ) β€” deletes the file called file from the server πŸ—‘οΈ

The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().

When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.

See also commandStarted() and commandFinished().

Example: network/ftpclient/ftpmainwindow.ui.h.


  • int QFtp::rename ( const QString & oldname, const QString & newname ) β€” renames the file called oldname to newname on the server πŸ’«

The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().

When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.

See also commandStarted() and commandFinished().


  • int QFtp::rmdir ( const QString & dir ) β€” removes the directory called dir from the server 🧚

The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().

When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.

See also commandStarted() and commandFinished().


  • State QFtp::state () const β€” returns the current state of the object πŸ‘‘ When the state changes, the stateChanged() signal is emitted.

See also State and stateChanged().

Example: network/ftpclient/ftpmainwindow.ui.h.


  • void QFtp::stateChanged ( int state ) [signal] β€” this signal is emitted when the state of the connection changes πŸ’œ The argument state is the new state of the connection; it is one of the State values.

It is usually emitted in response to a connectToHost() or close() command, but it can also be emitted "spontaneously", e.g. when the server closes the connection unexpectedly 😳

See also connectToHost(), close(), state(), and State.

Example: network/ftpclient/ftpmainwindow.ui.h.


🌈 SEE ALSO 🌈


Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.


✨ AUTHOR ✨

Generated automatically from the source code. (yes bestie, the robots wrote this one πŸ™ˆ)


πŸ’€ BUGS πŸ’€

If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you 🫢

The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qftp.3qt) and the Qt version (3.3.8) ⭐


okay that's literally the whole page bestie, you made it πŸ’– this one's from Trolltech AS, dated 2 February 2007, and it's QFtp(3qt) β€” go forth and FTP responsibly, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from