There is a CFX_Zip by Ben Forta (I Think) that would work. You can check
the file extension when it is uploaded and if it is a zip unzip it into a
temporary folder. Then use CFDIRECTORY to get a file list and loop through
each and use CFFILE to move the file to the correct folder(s).
Or alternatively, just unzip the file to the appropriate folder.
Russel
> -----Original Message-----
> From: Bosky, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 25, 2001 10:12 AM
> To: CF-Talk
> Subject: Automatically unzipping uploaded files?
>
>
> If I upload a zipped file is there a way I can automatically
> unzip that file into the same directory? I have a user that
> uploads a lot of images and its easier to send a single file.
> Currently I manually unzip the file. Any suggestions?
>
> Thanks,
> Dave
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists