Re: Delete temporary file after download from client
Wednesday, February 5, 2003 11:19 AM
Try this order of steps:
1. Read the content of the file into yr bytearray
2. Close all file/io connections with that file.
3. set the content-type of the response.
4. do the writing from the bytearray to the client.
5. reset the array, delete the file.