NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Delete file AFTER Sending ( download)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Delete file AFTER Sending ( download) (Read 3488 times)
rjolda
Sr. Member
Posts: 329
Delete file AFTER Sending ( download)
«
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
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Delete file AFTER Sending ( download)
«
Reply #1 on:
April 17, 2010, 04:54:49 AM »
Hi Ron,
If the file name on disk starts with a $, then it will automatically be deleted after sending.
Cheers
Bruce
Logged
rjolda
Sr. Member
Posts: 329
Re: Delete file AFTER Sending ( download)
«
Reply #2 on:
April 17, 2010, 04:53:26 PM »
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
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Delete file AFTER Sending ( download)
«
Reply #3 on:
April 17, 2010, 08:50:29 PM »
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
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Delete file AFTER Sending ( download)