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_ZIP(Clbfile PATH_TO_COMPRESS_IN, Clbfile PATH_ZIP_FILE_IN, Char INCLUSIONS_FILTER_IN, Char EXCLUSIONS_FILTER_IN, Tinyint RECURSIVE_IN, Char PASS_IN) : Tinyint
Allows you to zip (compress) a file or directory
- PATH_TO_COMPRESS_IN Clbfile Full path or volume to the directory or file to be zipped
- PATH_ZIP_FILE_IN Clbfile Full path or volume to the zipped file to create or complete
- INCLUSIONS_FILTER_IN Char Filter to apply to the files to be zipped in order to include only those that match (Example: *.txt, extraction*)
- EXCLUSIONS_FILTER_IN Char Filter to apply to the files to be zipped in order to exclude the corresponding ones (Example: *.dll, password*)
- RECURSIVE_IN Tinyint Must also compress subdirectories if existing (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_ZIP(filpath('SVG','',''), filpath('tmp','SVG','zip'), "*.dat", "", 0, "" )
Compress all the SVG save directory of the current folder keeping only the .dat files and saved in the tmp directory under the name SVG.zip without password