Ftp and qt
-
I do not know php, javascript or html5, but i need to plan somethink that allows me to send online a file with a list of relative paths and size. Is there a method in a ftp connection to receive a customized message (true if files in list are the same of those online) and so call a function?
-
QFtp was used to do the job, but is now deprecated : http://developer.qt.nokia.com/doc/qt-4.8/qftp.html
It is recommanded in the doc to consider QNAM : http://developer.qt.nokia.com/doc/qt-4.8/qnetworkaccessmanager.html.
Actually, QNAM is a really powerful class and can be used for nearly anything dealing with network. -
But QNAM is not a replacement for QFtp. Commands like CD, LIST usw. are not supported/available from QNAM!!! QFtp is deprecated because there is no maintainer at the moment. For Qt5 is planned to put i.e. QFtp, QHttp aso in a external static library, see "here":http://lists.qt-project.org/pipermail/development/2012-January/001390.html.
-
I'm not sure, but the plan is to put them in a lib that is sort of Q3Support. Ie without active developement.
Maybe there will be a better QFtp class coming as a Qt Addon, or maybe there will be some person that will pick mainternership of QFtp.