Hello!

You won't be able to get the progress of the download easily (unless you hack 
on the stdlib a bit). But as for downloading without blocking your GUI you've 
got two options I think:

  * Run `httpclient.downloadFile` (or `get`) in a different thread.
  * Use the `AsyncHttpServer` and poll (by calling the `poll` procedure) the 
async dispatcher in between polls to your GUI. IUP should have something to 
allow you to control the event loop.



You might run into trouble with the first one (I'm not sure if `httpclient` is 
GC safe), but it should be much simpler to try out. Use the `threads` module to 
create a new thread or use `spawn`.

Hope this helps!

Reply via email to