newtolinux
17th January 2011, 07:22
Hi...
I am sending a large file over a network by using QNetworkAccessmanager's post method
QNetworkReply *reply = manager->post(request, postDataByteArray);
reply finished signal will be emitted once the entire post operation is complete. untle that networkaccessmanager keeps on sending the my large file.
But my question is can i interrupt that post operation in middle if i want. I could not find any proper apis in networkaccessmanager's documentation to achieve that.
Can some one suggest me how to solve this problem?
I am sending a large file over a network by using QNetworkAccessmanager's post method
QNetworkReply *reply = manager->post(request, postDataByteArray);
reply finished signal will be emitted once the entire post operation is complete. untle that networkaccessmanager keeps on sending the my large file.
But my question is can i interrupt that post operation in middle if i want. I could not find any proper apis in networkaccessmanager's documentation to achieve that.
Can some one suggest me how to solve this problem?