The Archive namespace
Create and extract archived files and folders.
Function List
- InspectZip (filename string)
- Returns a list of contained file names without extracting the archive file. (Returns a List of string object.)
- UnZip (filename string, destination string)
- Extract a zip archive to the specified destination path.
- UnZip (filename string, files List of string, destination string)
- Extract only the specified files from the zip archive to the destination path.
- Zip (filename string, sourcefiles List of string)
- Creates a zip archive that contains the specified files and/or directories. If the destination zip file exists, the specified files and/or directories will be added to the existing zip archive.Files and/or directories specified that exist in the archive will be replaced.
Function Details
- InspectZip (filename string)
- Returns a list of contained file names without extracting the archive file.
- UnZip (filename string, destination string)
- Extract a zip archive to the specified destination path.
- UnZip (filename string, files List of string, destination string)
- Extract only the specified files from the zip archive to the destination path.
- Zip (filename string, sourcefiles List of string)
- Creates a zip archive that contains the specified files and/or directories. If the destination zip file exists, the specified files and/or directories will be added to the existing zip archive.Files and/or directories specified that exist in the archive will be replaced.