in reply to Upload and Delete

There's no way to do this. Certainly not with the Perl CGI which is running on the server. And no client side language is going to provide access to the local file system unless there's some huge security hole.

Imagine for a minute that you could connect to web sites and have them delete your files. Ask yourself if you'd ever go to those sites.

Replies are listed 'Best First'.
Re: Re: Upload and Delete
by virtualsue (Vicar) on Mar 05, 2002 at 15:15 UTC
    Just a few quick comments:
    • I never saw a mention of CGI in the context of his question
    • Maybe the local file is on his PC, where the script is also running
    I may well be off base here, but I think he would just like to clean up his PC after the upload is complete.

      You are correct. I jumped to that CGI conclusion when I saw the word "upload". Dany, how about some code here? I may have been off base assuming CGI.

      Thanks virtualsue ...

Re: Re: Upload and Delete
by Anonymous Monk on Mar 06, 2002 at 09:39 UTC
    I understand your words. But is for a local aplication not for a publish in a WWW. Thanks.