Updating 1.x scripts
The 3.x script language is identical to the 1.x version except from the following minor differences:
- Every variable must start with the character “$”. Put $ at the beginning of every variable as shown in this example.
- Every label must start with the character “:”. Put : at the beginning of every label as shown in this example.
- The commands ISEQUAL, NOT, ADD and CONCAT are still supported but they are deprecated. As the 3.x script language supports operators you might want to replace them with their corresponding arithmetical symbols as shown in this example.
- Some commands have changed their names and now the synchronization feature has been turned into a separate command (SYNC). See the table below for command correspondence.
Old command name | New name | Syntax changes |
FTPOPENHOST | OPENHOST | no changes |
FTPCLOSEHOST | CLOSEHOST | no changes |
FTPGETFILE | GETFILE | Synchronization/mirror feature has been moved to the new SYNC command |
FTPPUTFILE | PUTFILE | Synchronization/mirror feature has been moved to the new SYNC command |
TRANSFERMODE | SETTYPE | Same syntax. Added EBCDIC. |
LOCALCWD | LOCALCWDIR | no changes. |
FTPCHDIR | CHDIR | no changes. |
FTPCWD | CWDIR | no changes. |
FTPMKDIR | MKDIR | no changes |
FTPRMDIR | RMDIR | no changes. |
FTPFILERENAME | RENAMEFILE | no changes. |
FTPFILEDEL | DELETEFILE | no changes. |
FTPLS | GETLIST | no changes. |
FTPCHMOD | CHMOD | no changes. |
All commands not shown in this list are not affected by any changes. | ||