Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Extract the zip files

New Here ,
Jun 12, 2008 Jun 12, 2008
Hi,

I want to upload and extract the zip files. However I am able to upload the zip file but not able to unzip it after uploading. Is it possible in coldfusion mx 7. I know its possible in coldfusion 8, but I need solution in version 7. Please let me know if there is any free components or third-party API's.

Thanks!
374
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 12, 2008 Jun 12, 2008
as you know cf mx 7 does not have a built-in zip functionality.
you will have to install a zip application (i.e. 7zip, which is free) on
your server and use cfexecute to run it and unzip your file.

if you are on a shared hosting you are pretty much out of luck - look if
your server has a pre-installed php or other script to manage zip
archives...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 13, 2008 Jun 13, 2008
LATEST
You might also look into the unzipFile() function at cflib.org. It uses the core java.util.zip.* classes to unzip files.
http://www.cflib.org/index.cfm?event=page.udfbyid&udfid=997

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources