Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. NetworkReply::downloadProgress - signal emitted once for ftp
Forum Updated to NodeBB v4.3 + New Features

NetworkReply::downloadProgress - signal emitted once for ftp

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DBoosalis
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      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.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved