QT 5.5 - Working on FTP
-
Hello,
If i don't want to use QFTP - how can i connect and make some things on FTP using QT 5.5.
If there is no possibility - where i can find QTFtp that i can compile to working plugin on OS X.
I found some sources on github, but there is no headers at all.Thank for any help.
-
Hi,
You can implement it yourself using QNetworkAccessManager but the QtFTP module is available at code.qt.io which is the official repository for Qt's sources and it builds on OS X with Qt 5.5.
-
It's a Qt module, there's a .pro file in the top folder so:
cd qtftp qmake make make install
-
I've got error:
QIODevice::write (QTcpSocket, "QFtpPI_socket"): device not openftp_host, ftp_login, ftp_pass are valid variables with ftp account data.
QFtp ftp; ftp.connectToHost(ftp_host, 21); ftp.login(ftp_login,ftp_pass); ftp.list(); ftp.close();
Why i've got this error ?
Working on OSX. -
Do you have an event loop running ?
-
By building and reading the documentation and taking a look at the example in the sources