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
Tells you whether SimpleFTP is already busy performing a command or not.

RESULT - TRUE if busy, FALSE if not.
CommandSyntaxDetails
ADDSITEADDSITE 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.
CDCD PATH/AChanges directory on the server.

PATH/A - Path to change to.
CONNECTCONNECTConnects to the site currently selected in the Site Manager.
DELETEDELETE FILE/S DIR/S PATH/ADeletes 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.
DISCONNECTDISCONNECTDisconnect from the currently connected server.
FINDSITEFINDSITE NAME/AFind 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.
GETGET PATH/ADownload a file.

PATH/A - Name of file to download.
GETMODEGETMODEReturns the current transfer mode.

RESULT - Returns a number to identify mode: 0=Auto, 1=Binary and 2=ASCII.
ISBUSYISBUSY
ISCONNECTEDISCONNECTEDTells you whether SimpleFTP is already connected or not.

RESULT - TRUE if connected, FALSE if not.
JUMPSITEJUMPSITE SITE/ACauses the site manager to select a site you have specified by number.

SITE/A - Number identifying a paticular entry.
LCDLCD PATH/AChanges local directory.

PATH/A - Path to change to.
PUTPUT PATH/A NAME/S/AUploads 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.
SETMODESETMODE MODE/AChanges the current transfer mode.

MODE/A - Mode to set; 0=Auto, 1=Binary and 2=ASCII.

© Copyright 1999-2000, Rick Hodger.
All rights reserved.