NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on April 16, 2010, 03:04:27 AM
-
Hi,
Net talk 5
I have used BlobtoFile to extract the PDF file from my blob to a file on my disk and the client is then "sent the file".
Question: Where do I put the code to DELETE this file from disk AFTER it has been downloaded - i.e. - how do I know when the download has been completed?
Thanks
Ron Jolda
-
Hi Ron,
If the file name on disk starts with a $, then it will automatically be deleted after sending.
Cheers
Bruce
-
Bruce,
I am naming the file.
Are you telling me that if I pre-pend a $ to the name, Net Talk will automagically delete the file after sending?
Is it the "$" as the first character of the name that triggers the delete after send?
Thanks,
Ron
-
Sorry - correction - that should be $$$ at the beginning not just $.
>> Are you telling me that if I pre-pend a $$$ to the name, Net Talk will automagically delete the file after sending?
yes.
>> Is it the "$$$" as the first 3 characters of the name that triggers the delete after send?
yes.
Cheers
Bruce