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
In reply to archives etc by CassJ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |