Unsolved QT 5.5 - Working on FTP
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.
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.
Thank You, but here i see exactly same files like in source that i found @ github.
How can i compile this ?
I know - simply question :-) There is no configure, no make file.... :-)
It's a Qt module, there's a .pro file in the top folder so:
cd qtftp qmake make make install
Its so simple :-) no problems - module compiled successful.
Thank YOU !!
I've got error:
QIODevice::write (QTcpSocket, "QFtpPI_socket"): device not open
ftp_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 ?
No.It is new empty project, where i want to get know how this module works, and how to use it.
By building and reading the documentation and taking a look at the example in the sources