in reply to Browser-based file uploads and deletions for a

Does the file necessarily have to be stored on the server? I wouldn't rely on the user to delete the file. When you use CGI.pm, you get the uploaded data with a filehandle you read from like
while (<$upload_fh>) { $file_contents .= $_; }
Why do you need to store the file at all? Anyway, CGI.pm temporarily stores uploaded files in a /tmp directory (look for the -private_tempfiles "pragma" in `perldoc CGI`).

Replies are listed 'Best First'.
Re: Browser-based file uploads and deletions for a
by hacker (Priest) on Nov 18, 2001 at 05:26 UTC
    The users need to "know" that the file has been deleted. I don't want them claiming I'm keeping their files. Now we're back to policy over implementation though.

    "Do not upload files that you view as private or proprietary"

    I'll keep banging out some ideas. Thanks.