CassJ has asked for the wisdom of the Perl Monks concerning the following question:
Can anyone advise me on the best way to deal with uploaded files that may be archived and/or compressed?
At the moment, I'm relying on the file extension and just unpacking by backticking the appropriate cmd. I've also had a look at the unix 'file' command, which would let me deal with files with stupid names, but I've no idea if this is a sensible approach.
I know about Archive::Tar and Archive::Zip, but what I really want is Archive::AnythingYouLike (within reason). Besides, I don't care about manipulating the archive, I just want it unpacked so maybe any of the Archive modules are overkill?
Help?
Cheers, Cxx
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: archives etc
by coec (Chaplain) on Apr 21, 2004 at 12:18 UTC | |
by eserte (Deacon) on Apr 21, 2004 at 13:04 UTC | |
|
Re: archives etc
by DrHyde (Prior) on Apr 21, 2004 at 11:21 UTC | |
|
Re: archives etc
by matija (Priest) on Apr 21, 2004 at 11:31 UTC | |
by eserte (Deacon) on Apr 21, 2004 at 13:01 UTC | |
by CassJ (Sexton) on Apr 21, 2004 at 11:53 UTC |