QNetworkAccessManager::put(): uploading large file
I am currently working on a sample application which uses QNetworkAccessManager to send the HTTP command. In the sample we are uploading files to server. Here I want upload the file in chunk by chunk(not whole file). Is there any way to send large file in chunk by chunk.
Thanks in advance
I think put(const QNetworkRequest&, QIODevice *) will read only chunk-by-chunk from QIODevice. If you want to restrict size of chunk you can create own class inhertied from base in that way that readData(..) will pass further limited value of maxSize.