View Full Version : Stop HTTP.Download in progress
11-25-2007, 11:06 AM
Can any kind soul show me how to stop/abort an in-progress HTTP.Download action?
Any help is very much appreciated.
11-25-2007, 12:24 PM
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.
05-28-2009, 03:09 PM
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.
Powered by vBulletin™ Version 4.0.6 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.