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_LIST_DIRECTORIES(Char SERVER_IN, Char PATH_IN, Char SORT_IN, Char FILTER_IN, Char() DIRECTORIES_OUT) : Integer
List subdirectories of a directory on the server
- SERVER_IN Char Server on which to list the directory (or "" if current runtime)
- PATH_IN Char Full path or volume to the directory to list
- SORT_IN Char Sort order on directories (default: N):
- N : Alphabetical name
- DC : Creation date
- DA : Last access date
- DW : Last write date
- - : (To be put in front of the chosen type in order to have a descending sort)
- FILTER_IN Char Possible filter on the name of the directories (see function pat())
- DIRECTORIES_OUT Char() Array variable that will contain the directories found (limit of 32767 directories)
Example
func X3.EN_FILE_LIST_DIRECTORIES("", filpath("tmp",'',''), "-N", "", MYLIST))
Return in MYLIST all subdirectories in the tmp directory in descending order of name