C-Quel Wrote:Cancelling a download in the script before completion meant no half finished files in your folder, with plugins if your lucky enough to be able to get it to cancel can the file be removed?
I really searched for this... I don't know how to cancel the urlretrieve function from the "hook" callback function. The only thing that could be done is to invoke the download as a seperate thread and stop the thread instead... but this is somehow pretty messy and there could be problems with the file deletion - i don't know if urllib closes the file if i shut down the download thread. Nuka, do you know anything about that?