get filetype from string and unzip
I'm reading files of a directory into a list and then loop through it. with every loopcount I get one filename, then if it is a xlf file, I insert the data into my db. But if the file is a zip file (always containing serveral xls files), and here is my problem, it has to be unziped first, and then another loop has to get over the unziped files.
So how can I see if my file is a zip file?
And how can I unzip a zip file? (with coldfusion 7)
The only solutions I found were for ColdFusion 9, because there is a unzip function, but I have to work with ColdFusion 7 Server.