ZIP_LIST
This Activity will list the contents of a zip archive.
The path and name of the zip archive must be specified.
The contents of the zip archive are output in a list.
This Activity uses the LANSA Integrator ZipService.
Other Activities for zip processing:
Zips a list of files and adds them to a zip archive. |
|
Zips a list of directories and adds them to a zip archive. |
|
Extracts a single file or the entire contents of a zip archive. |
INPUT Parameters:
ZIPARCHIVE : Required
This value should contain the full path and name of the zip archive whose contents are to be listed.
For example: Windows C:\savedirectory\orders.zip
IBM i /saveorders/sav.zip
OUTPUT Parameters:
FILELISTThis parameter will contain a list of files in the zip archive.
A maximum of 5,000 entries may be listed.
The format of each entry will depend upon how the zip archive was created. The base directory information will be included in each entry name if it was captured in the original zip.
For example, if the base directory was captured by the original zip an entry might be mydirectory\january\ord1.xml
If no directory was captured in the zip an entry will contain just the file name, such as ord1.xml