Overview
Validate the file extensions in an uploaded zip file and unzip the contents into the target folder.
Key Features & Functionality
Smart Services
Functions
Hi,
The UnZip smart service has a problem when the ZIP file contains a folder structure with two (or more) identical folder names. It will then only create the first folder. The other folders with the same names are not created and the files of those folders are saved to some system folder.
Example folder structure:
/Folder_A/file1.txt
/Folder_B/Folder_A/file2.txt
Folders /Folder_A/ and /Folder_B/ are created and file1.txt is unzipped correctly.
Subfolder /Folder_A/ in /Folder_B/ is not created and file2.txt is not showing up in Appian.
The problem is how the smart service caches already created folders. It only uses the baseName instead of the full path.
Thanks,
Christoph