Hi all,
After successful upload QNetworkReply::uploadProgress signal returns bytesSent=0 and bytesTotal=0 (during upload the progress is OK).
Is that normal?
Windows 7 x64 Pro
Qt 5.0.1
Visual Studio 2010 SP1
Qt5 Visual Studio Add-in
Hi all,
After successful upload QNetworkReply::uploadProgress signal returns bytesSent=0 and bytesTotal=0 (during upload the progress is OK).
Is that normal?
Windows 7 x64 Pro
Qt 5.0.1
Visual Studio 2010 SP1
Qt5 Visual Studio Add-in
Hi,
It states in the class ref. for QNetWorkReply: The upload is finished when bytesSent is equal to bytesTotal. At that time, bytesTotal will not be -1.
I assume that at the end of a successfull upload the counter is reset to 0 and the above rule is applied.
Since you are not getting a -1 result all should be fine?
Bookmarks