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

Creating a Zipped File

Guest
Aug 08, 2007 Aug 08, 2007

Copy link to clipboard

Copied

I have developed an application where a user submits large graphics files which are then emailed to our client. Is there a way that these files can be compressed using WinZip or another compression utility) before being emailed? Just got back to using Cold Fusion recently and have not been able to find any examples/doc on this subject.
TOPICS
Advanced techniques

Views

202

Translate

Translate

Report

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
Guide ,
Aug 08, 2007 Aug 08, 2007

Copy link to clipboard

Copied

LATEST
If you're using CF8 you can use <cfzip>
http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_u-z_5.html#2851426

If you're using MX6/7 take a look at these two udf's that use java classes to zip/unzip files. They're a bit dated, but it could easily be re-written using cffunction/cfargument tags

http://www.cflib.org/udf.cfm?ID=744
http://www.cflib.org/udf.cfm?ID=997

Votes

Translate

Translate

Report

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
Documentation