How To ZIP a file?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CF FAN
    New Member
    • Mar 2008
    • 50

    How To ZIP a file?

    No probss
    <CFZIP> with us
    Manipulates ZIP and Java Archive (JAR) files. In addition to the basic zip and unzip functions, use the cfzip tag to delete entries from an archive, filter files, read files in binary format, list the contents of an archive, and specify an entry path used in an executable JAR file.


    zip
    [CODE=cfm]<cfzip
    required
    file = "absolute pathname"
    One of the following:
    source = "source directory"
    <cfzipparam source = "source directory" ...>
    optional
    action = "zip"
    filter = "file filter"
    overwrite = "yes|no"
    prefix = "string"
    recurse = "yes|no"
    storePath = "yes|no">[/CODE]
    thanks for COLDFUSION 8
    Last edited by acoder; Apr 3 '08, 12:26 PM. Reason: Added code tags
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Moved to the Editor's corner for the time being.

    Can you please add more information, perhaps explaining some of the options to make it into a full article?

    Comment

    • CF FAN
      New Member
      • Mar 2008
      • 50

      #3
      ok i will add more information

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Thanks, this could be a useful article.

        Comment

        Working...