PDA

View Full Version : Stop HTTP.Download in progress



azmanar
11-25-2007, 10:06 AM
Hi,

Can any kind soul show me how to stop/abort an in-progress HTTP.Download action?

Any help is very much appreciated.

Thank you.

Dermot
11-25-2007, 11:24 AM
Use a callback function. If the callback function returns true, the download continues. If it returns false the download will stop. If you look up HTTP.Download in the help file you will see how to structure the callback function.

wildsway18
05-28-2009, 02:09 PM
Hi,

I would also like to do this, but I can't seem to get the necessary information. Can someone please show some examples of how this could be done?

I would like to put in a label with a little x to stop a certain HTTP.Download (the downloaded file is pretty large and must be able to stop at any time).

What should I put in the "on click" script of the label with the x and how should the httpCallback look like? Or any other details that might help...

Any help is much appreciated, thank you very much.