You are not logged in.
Hello everyone,
I'm working on a downloader for large files using the `THttpClientSocket` client and its `WGet` function, inspired by the mORMot2 `mget` tool. The downloader works fine with tuned parameters, but I'm facing an issue canceling a download mid-process.
I've tried calling `client.close` to interrupt the download, but it doesn't seem to stop the download as expected. Could anyone guide me on the correct workflow to cancel a download, dismiss the cache, and prevent the download from continuing?
Any advice or suggestions would be greatly appreciated.
Thank you!
Offline
Thanks for your response, I am using the latest stable version and I can not find an abort function associated to the THttpClientSocket client, do you mean I should go to the newer versions?
Offline
Yes, as I wrote this is a new method, not available in "stable".
You can use today's trunk for instance.
This version seems stable:
https://luti.tranquil.it/listfolder/48a … f8f0df2022
Offline