<< back to sysax.com Product page

1.2. Script commands

All predefined script commands must be terminated with a semicolon. Parenthesis and commas between parameters are optional. Parenthesis are also optional for commands with no arguments.

Exhibit 1.2. Examples for using the connect and disconnect commands for ftp

ftpconnect "", 21, "anonymous", "anon@anon.com"; #command without parenthesis

ftpconnect "" 21 "anonymous" "anon@anon.com"; #command without parenthesis and commas

ftpconnect("", 21, "anonymous", "anon@anon.com"); #command with parenthesis and commas

ftpdisconnect(); #command with no arguments with parenthesis

ftpdisconnect; #command with no arguments without parenthesis