
Zip File Utilities
by Appian Corporation
Description
Validate the file extensions in an uploaded zip file and unzip the contents into the target folder
Features
Smart Services Unzip: Unzip the contents of a zip file into the selected destination folder Zip File Detection: Check whether a zip package contains files with the provided extensions Extract File from Zip: Extract a given file path from a ZIP or JAR, renaming and moving the file as needed
Functions doesZipContain: Checks whether a ZIP or JAR contains a specific file path, either by exact match or Regex. getFileNamesFromZip: Retrieves file names from ZIP or JAR archives using Regex.
Release notes
Introduced getFileNamesFromZip() function to retrieve file names from ZIP or JAR archives.
Version history (8)
2.3.1
Bug fixes - setting docId for doc extracted from zip
2.3.0
Updated the folder security to make the documents uploaded by basic users are visible
2.2.0
- Added new functionality:
Extract File from Zip Smart Service: Extract a given file path from a ZIP or JAR, renaming and moving the file as needed doesZipContain Function: Checks whether a ZIP or JAR contains a specific file path, either by exact match or Regex.
- Updated libraries:
Added Apache Commons IO Updated Apache Commons Net & Oro
2.1.1
Updated license file
2.1.0
Replace deprecated content APIs with modernized file management APIs. See the 23.2 Release notes here https://docs.appian.com/suite/help/23.2/Appian_Release_Notes.html#modernized-file-management-apis
2.0.2
Fixed an issue where zip files would not properly unzip if a sub-folder of the same name as a parent folder existed.
2.0.1
Security Updates
2.0
Fixed the issue where the file extension was being added to the file name during unzip. Note that this is not backwards compatible due to this change in behavior.