Summary
How it works
Crystal Reports
Date
COPY_ARRAY
IS_WEEKEND
Decimal
COPY_ARRAY
Development
LINK_OPEN
VALIDATE
VALIDATE_TRANSACTION
VIEW_SCREEN
Integer
COPY_ARRAY
Short Integer
COPY_ARRAY
File
CREATE_DIRECTORY
CSV_TO_XLSX
DEL_DIRECTORY
DOWNLOAD
GET_COMPLETE_NAME
GET_EXTENSION
GET_HASH
GET_NAME
LIST_DIRECTORIES
LIST_FILES
PATH_TO_VOLUME
UNZIP
UPLOAD
VOLUME_TO_PATH
ZIP
FTP
DELETE
DOWNLOAD
LIST
UPLOAD
Image
GENERATE_CODE
IMAP
LIST_DIRECTORIES
JSON
COUNT
DEL_KEY
GET_KEYS
GET_ONE
GET_POS_KEY
GET_TYPE
GET_VALUE
SET_VALUE
TO_ARRAY
SMS
SEND
SMTP
SEND_EMAIL
Stock
GET_AVAILABLE_QTY
GET_COST
Text
COPY_ARRAY
COUNT_OCCURRENCES
HTML_DECODE
HTML_ENCODE
HTML_TO_TXT
IS_NUMERIC
LINK_DECODE
LINK_ENCODE
RANDOM
REPLACE
RTF_TO_TXT
SPLIT
TO_BASE64
User
CHECK_PASSWORD
Sale
CLOSE_ORDER
GET_PRICE
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