PDA

View Full Version : QNetworkAccessManager and get FTP content list



dickymoe
4th May 2011, 15:00
Hello, I've started a FTP browser in Qt.

In QFtp documention it's written that it's better to use QNetworkAccessManager instead of QFtp.

However, for new applications, it is recommended to use QNetworkAccessManager and QNetworkReply, as those classes possess a simpler, yet more powerful API.

How can I have folders content (like list() function in QFtp) with QNetworkAccessManager / QNetworkRequest ?

I didn't find anything...

Thanks

wysota
4th May 2011, 19:37
As far as I remember QNAM can't handle listing ftp directories.