Posted by J.O. Aho on 03/13/07 11:58
kick ass wrote:
> Hi,
> this is my question:
> I have a link to some file (file.zip) on my page.
> I would like that this file is automaticaly deleted from server after user
> downloads it.
>
> So, user clicks right mouse button, chooses "Save target as..." and than
> saves it.
> How to make script that deletes file from server after it's been
> downloaded??
If using php, you add a form+button at the page which the user has to
press after the download has finished, this as php don't have magical
powers to see when someone finished the download.
--
//Aho
[Back to original message]
|