coldfingertips has asked for the wisdom of the Perl Monks concerning the following question:
Question 1) Does the entire .zip file have to be uploaded to the server prior to reading it? Or can I slurp it into memory? Now that I think about it, this sounds like a bad idea but leads to the next question
Question 2) Servers all have timeouts for scripts that run forever and I fear that if someone uploads 100s of MB worth of files in their zip file, my server will cut off. This is where it might be a little OT..
I've seen some forums (though I can't remember which) that have admin panels that send out emails. It sends out a bunch, then it redirects to a page with a timeout button/timer on it, then it reloads itself and starts again with another chunk of emails to send out, reloads with a new timeout button/timer, etc. And when I have over 10,000 emails to send it reloads the page about 10 times or so I think.
How is that done? I'd like to use that same idea if the user is uploading a huge zip file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Zip file extraction (perhaps a little OT)
by Corion (Patriarch) on Sep 05, 2007 at 14:12 UTC | |
by polettix (Vicar) on Sep 05, 2007 at 14:53 UTC | |
by coldfingertips (Pilgrim) on Sep 05, 2007 at 16:21 UTC |