|
''Zip'' Function |
|
|
Zips files or directories. Syntax Zip(file-or-directory-name, zip-file-name, include-ld-name)
Parameters file-or-directory-name The name of the file or directory to be zipped. zip-file-name The target zip file name. This optional boolean parameter with a default value "true" causes that the last directory name is included in the name of the zip entry. See Absolute or Relative Names. Note:
Examples: @// Zip the files under "/user/user1/work" directory into the file "{WEB_APPLICATION_ROOT}/work.zip" Zip('/user/user1/work', 'work.zip')
@// Zip the files under "c:\documents" directory into the file "c:\docs.zip" Zip('c:\documents', 'c:\docs.zip')
|