- GETTING STARTED
- Server connection
- File Transfer
- Directory operations
- File operations
- Script output
Returns the number of elements of the specified list.
- list: A list which number of elements will be counted.
This command was added in ScriptFTP version 3.2 as a hidden command but was finally documented for the v3.3.Examples:
# Get the remote file listing, store it in $list
# Calculate the number of elements in the list
PRINT("Found ".$number_of_elements." text files")
PRINT("No text files found")