While using network.download, a temporary file is created until the whole file is complete.
I monitor progress and allow the user the option of canceling the download (network.cancel). The problem is that the temporary file is left behind, and I need to delete it.
How do I get the name of the temporary file so that I can delete it on a network.cancel?
