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

Answers


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.


Need Your Help

How to do instant search with mongoosastic + AJAX?

jquery ajax node.js elasticsearch mongoosastic

I have configured mongoosastic successfully, I tried searching and it is working fine, but when it comes to front-end I'm not really sure on how to achieve this, I experimented with a lot of ways but

Executing a simple stored procedure in SQL Server Management Studio

c# sql sql-server stored-procedures

This is a simple stored procedure written in SQL Server Management Studio.