Summary
How it works
Date
COPY_ARRAY
IS_WEEKEND
Decimal
COPY_ARRAY
Development
LINK_OPEN
VALIDATE
VALIDATE_TRANSACTION
VIEW_SCREEN
Integer
COPY_ARRAY
File
CREATE_DIRECTORY
UNZIP
UPLOAD
LIST_FILES
LIST_DIRECTORIES
GET_HASH
GET_EXTENSION
GET_NAME
GET_COMPLETE_NAME
PATH_TO_VOLUME
DOWNLOAD
VOLUME_TO_PATH
ZIP
Image
GENERATE_CODE
IMAP
LIST_DIRECTORIES
JSON
COUNT
SET_VALUE
GET_KEYS
GET_TYPE
GET_POS_KEY
GET_ONE
GET_VALUE
DEL_KEY
TO_ARRAY
SMS
SEND
SMTP
SEND_EMAIL
Stock
GET_COST
GET_AVAILABLE_QTY
Text
RANDOM
COUNT_OCCURRENCES
COPY_ARRAY
SPLIT
IS_NUMERIC
HTML_DECODE
HTML_ENCODE
HTML_TO_TXT
LINK_DECODE
LINK_ENCODE
REPLACE
RTF_TO_TXT
User
CHECK_PASSWORD
Sale
GET_PRICE
CLOSE_ORDER
func X3.EN_FILE_UNZIP(Clbfile PATH_FILE_ZIP_IN, Clbfile DESTINATION_PATH_IN, Char INCLUSIONS_FILTER_IN, Char EXCLUSIONS_FILTER_IN, Tinyint SUBSREP_IN, Char PASS_IN) : Integer
Unzip (decompress) a zip file
- PATH_FILE_ZIP_IN Clbfile Full path or volume to the file to unzip
- DESTINATION_PATH_IN Clbfile Full path or volume to the directory where to unzip the files
- INCLUSIONS_FILTER_IN Char Filter to apply to the files to be unzipped in order to include only the corresponding ones (Example: *.txt, extraction*)
- EXCLUSIONS_FILTER_IN Char Filter to apply to the files to be unzipped in order to exclude the corresponding ones (Example: *.dll, password*)
- SUBSREP_IN Tinyint Must we also create the subdirectories or put everything in the destination path flat (1=Yes, 0=No)
- PASS_IN Char Password to apply to the zipped file and necessary for unzipping (or empty)
Example
func X3.EN_FILE_UNZIP(filpath('tmp','SVG','zip'), filpath('SVG','',''), "*.dat", "SORDER*", 1, "Radiohead")
Unzip the files found in the SVG.zip file to the SVG save directory of the current folder keeping only .dat files and except those starting with SORDER with subdirectories thanks to a password