Just wanted to reply on this oldie:
Re: Delete file AFTER Sending ( download)
I did what Bruce was saying: Prepend the filename with $$$.
The files won't go away.
My code:
loc:filenameonly = '$$$' & FORMAT(TODAY(), @D12) & FORMAT(CLOCK(), @T05) & RANDOM(1000,9999) & '-' & Doc:DocumentFileName & '.' & Doc:DocumentFileExt
loc:filename = clip(p_web.site.UploadsPath) & '\' & loc:filenameonly
p_web.HeaderDetails.ContentDisposition = 'attachment; filename="' & loc:filenameonly & '"'
Any ideas?
Cheers!