We don't bite newbies here... much | |
PerlMonks |
Re: Browser-based file uploads and deletions for aby kwoff (Friar) |
on Nov 18, 2001 at 03:58 UTC ( [id://126060]=note: print w/replies, xml ) | Need Help?? |
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
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`).
In Section
Seekers of Perl Wisdom
|
|