|
Posted by kick ass on 03/13/07 13:34
Yes I know that ;)
But it's kind a stupid to ask user to delete it for you.
Maybe if I make a form + button which when pressed starts an FTP download on
to users computer and then I can check if the FTP_GET is completed. Then the
php script deletes
that file from server.
But then, my problem would be how to invoke "menu" which gives user the
choice to
select destination on his computer for file to download (similar to the
"Save Target As..." in IE).
Any ideas??
"J.O. Aho" <user@example.net> wrote in message
news:55nhv3F264a1nU1@mid.individual.net...
> 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
Navigation:
[Reply to this message]
|