| SimpleFTP ARexx Support |
Due to the way in which SimpleFTP is written, the supplied ARexx commands are slightly different from what you would normally expect, but they work well and allow for the possibility of multiple ARexx scripts trying to use the one incarnation of SimpleFTP at the same time.
A quick note on ports: SimpleFTP uses the MUI naming convention for ARexx ports - so the first running copy will use "SIMPLEFTP.1", the second uses "SIMPLEFTP.2", the third "SIMPLEFTP.3" and so on.
| Alphabetical List of Commands |
| Command | Syntax | Details |
| ADDSITE | ADDSITE NAME/A URL/A ADT/S | Allows you to add a site into SimpleFTP's Site Manager. NAME/A - Name to give the FTP site. URL/A - URL pointing to the site. ADT/S - Use ADT with this site. |
| CD | CD PATH/A | Changes directory on the server. PATH/A - Path to change to. |
| CONNECT | CONNECT | Connects to the site currently selected in the Site Manager. |
| DELETE | DELETE FILE/S DIR/S PATH/A | Deletes a file on the currently connected FTP server. You should use either the FILE or DIR switch, depending on what it is you want to delete. |
| DISCONNECT | DISCONNECT | Disconnect from the currently connected server. |
| FINDSITE | FINDSITE NAME/A | Find a site by name in the Site Manager. NAME/A - Name to look for. RESULT - Returns the number of the site searched for (to be used with JUMPSITE), or -1 if not found. |
| GET | GET PATH/A | Download a file. PATH/A - Name of file to download. |
| GETMODE | GETMODE | Returns the current transfer mode. RESULT - Returns a number to identify mode: 0=Auto, 1=Binary and 2=ASCII. |
| ISBUSY | ISBUSY | Tells you whether SimpleFTP is already busy performing a command or not.|
| ISCONNECTED | ISCONNECTED | Tells you whether SimpleFTP is already connected or not. RESULT - TRUE if connected, FALSE if not. |
| JUMPSITE | JUMPSITE SITE/A | Causes the site manager to select a site you have specified by number. SITE/A - Number identifying a paticular entry. |
| LCD | LCD PATH/A | Changes local directory. PATH/A - Path to change to. |
| PUT | PUT PATH/A NAME/S/A | Uploads a file to the currently connected server. PATH/A - Local filename (if the full path is ommitted, it tries to use the current local directory). NAME/S/A - Optional part that allows you to rename or upload to sub-directory. |
| SETMODE | SETMODE MODE/A | Changes the current transfer mode. MODE/A - Mode to set; 0=Auto, 1=Binary and 2=ASCII. |