Script File Commands Grouped by Function

Top  Previous  Next

 

Configuration Commands

PROTOCOL - Specify default file transfer protocol
USEPORT - Specify COM port and parameters

 

Debugging Commands

BREAK - Set a script file breakpoint
GO - (Re)run the currently selected script file from beginning
RESUME - Resume execution of a script file stopped at a breakpoint

 

E-mail Commands

CREATEMAIL - Create an e-mail message
GETMAIL - Get an e-mail message
SENDMAIL - Send an e-mail message

 

FileLink Host Mode Authorization Commands

AUTHDATA - Obtain user data from authorization file
AUTHPW - Verify remote user password
AUTHUSER - Verify remote user name

 

Function Directives and Commands

BEGINFUNCTIONS - Begin function declaration section in script file
ENDFUNCTION - End function declaration
ENDFUNCTIONS - End function declaration section in script file
FUNCTION - Begin function declaration
RETURN - Force return from a function

 

Link Connection/Establishment and Disconnect Commands

ANSWER - Wait for incoming telephone call
CONNECT - Open direct connection
DIAL - Initiate modem auto-dialer
DISCONNECT - Disconnect the line

 

Local File Commands

APPEND - Append one file to another
APPEND - Append one file to another
ARCHIVEDIR - Define FileLinks archive folder
CHGDIR - An alias for the WORKINGDIR command
COPY - Copy one file to another location
DELDIR - Delete an empty local folder
DELETE - Delete a file
EXPORT - Export configuration settings to a file
GETFILE - Get next file in local folder/subfolder tree
GETNEXTFILE - Get next file in a local folder
IMPORT - Import configuration settings from a file
LISTDIR - Write local directory listing to a file
MAKEDIR - Create a new local folder
MAKEFILENAME - Create a unique, non-existant file name
MAKEDIR - Create a new local folder
MOVE - Move one file to another location
PRINT - Print a file
READFILE - Read string variable value from text file
RENAME - Rename a file
UNZIP - Extract file(s) from a zip archive
WRITEFILE - Write character string or string variable value to text file
ZIP - Create or add to a zip archive

 

Log File / Console Control Commands

CONSOLE - Control output to console window
LOG - Specify the script log file name
LOGMSG - Write a message to the script log file
LOGNTEVENT - Write a message to the NT application event log
SRVNAME - Define service name and control interaction with SrvMonitor
TRACELOG - Specify trace/diagnostic log file name

 

Modem Control Commands

MODEMCMD - Send AT command to modem
MODEMDEFAULTS - Restore modem factory default settings
MODEMDETECT - Detect first available COM port and/or modem in system
MODEMRESET - Send reset command to modem
MODEMRESP - Read response to command sent to modem
SPEAKER - Control modem speaker mode

 

Script File Branching Commands

GOTO - Direct flow to label
IFDATE - Conditional branch upon file date comparison
IFERROR - Conditional branch after testing result code
IFFILE - Conditional branch on file existence
IFNFILE - Conditional branch on file non-existence
IFNO - Conditional branch if ‘No’ is clicked in ASK dialog box
IFNSTRCMP - Conditional branch when two string variables are not equal
IFNSUBSTR - Conditional branch if sub-string is not found in string variable
IFNUM - Conditional branch upon numeric variable comparison
IFSIZE - Conditional branch upon file size comparison
IFSTRCMP - Conditional branch when two string variables are equal
IFSUBSTR - Conditional branch if sub-string is found in string variable
IFTIME - Conditional branch upon file time comparison
IFYES - Conditional branch if ‘Yes’ is clicked in ASK dialog box
LOOPCOUNT - Set maximum loop repetition
LOOPIF - Conditional branch used in conjunction with LOOPCOUNT
LOOPTO - Unconditional branch used in conjunction with LOOPCOUNT

 

Script File Control Commands

CALL - Call another script file
CHAIN - Transfer to another script file
CRON - Script scheduling using crontab file
DISPLAY - Display all or a specified variable
DOSCMD - Execute an internal MS-DOS command
EXEC - Execute an external program
EXIT - Quit FileLink
NATO - Specify a no activity time-out
PAUSE - Pause for specified length of time or until specified hour:minute
PERFORM - Execute script command contained in character string or variable
RETURN - Return from a called script file
STOP - Stops script processing

 

Serial COM Port I/O Commands

FLUSH - Flush characters from receive buffer
LINEIN - Read one or more characters from COM port
LINEOUT - Write one or more characters to COM port
RCVFILE- Receive one or more files
REMOTECMD - Perform a script command received via a COM port
SENDCMD - Send script command to remote FileLink (same as LINEOUT)
SENDFILE - Send one or more files

 

SQL Database Commands

DBCLOSE - Close and optionally delete a database file
DBGETRESULTS - Get results froma database query
DBQUERY - Issue a database query
DBREWIND - Reset results search to beginning
DBUSE - Create and/or open a database file

 

User Interface Commands

ASK - Display question in a Yes/No dialog box
BROWSE - Display a pop-up open file dialog box
MESSAGEBOX - Display text in message box
PLAYSOUND - Play a sound (.wav) file
PROMPT - Display message box with title and prompt, and accept user input
TERMINAL - Activate the TTY Terminal applet

 

Variable Commands

DATEADD - Add days to a date variable
DATESUB - Subtract days from a date variable
DEC - Decrement a variable by one
INC - Increment a variable by one
SET - Assign or concatenate string variable(s)
SETEXTRACT - Extract delimited substring from a string
SETLEN - Assign length of specified string to a variable
SETLEFT - Extract left substring
SETMID - Extract mid substring
SETNUM - Assign or evaluate numeric variable(s)
SETRIGHT - Extract right substring
SETSUBSTR - Find number of substrings in string

 

Window Control Commands

MINIMIZE - Minimize FileLink window
RESTORE - Restore minimized FileLink window to original size
TRACEWIN - Open/close trace logging window