NetworkReply::downloadProgress - signal emitted once for ftp



  • Hi I have replaced QFTP with QNetworkRequest/QNetworkReply. QFTP was able to provide me a signal for monitoring the progress of the download. I would like to monitor the download progress with QNetworkReply, but found that its signal downloadProgress ( qint64 bytesReceived, qint64 bytesTotal ) will only get emitted once when it is finished. I've also noted that it seems to take forever to start getting any bytes, so maybe the request is getting cached. Any suggestions on how to turn off the caching or to get upto date progress from a ftp download using QNetworkRequest ?

    Thanks in advance for your help.

    David



  • That signal is emitted continuously. Do you use some proxy/firewall/viruswall - maybe a hidden one? In that case it could be that the proxy waits until the download is finished, checks the contents an delivers it to your application.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.