README

Extended File Transfer Package "xFtp"

Prerequisites

To run this package Object REXX is required to be installed on your system and the REXX Function Package RxFtp providing a REXX interface to Ftp functions most of them wellknown from the Ftp command interface. The RxFtp function package comes with the Object REXX installation except for OS/2 where it is provided by TCP/IP.

The remote system you want to exchange data with requires an Ftp-server demon running. You also need to have access to a data domain through a password protected userid on that system. For demonstration purposes, the remote system alternatively may be located on your local machine.

Ftp-servers are natively available on the system platforms OS/2 Warp Connect, AIX, and Linux. The Windows95 and WindowsNT platforms are not originally endowed with Ftp services by Microsoft but can be upgraded by Ftp services available on the market or as freeware from e.g. http://www.winfiles.com/.

Package contents

This package contains This package is portable without change to all system environments where Object REXX is available (see note at the end of this Readme). At this time these are: Download the package file xFtp.zip and unpack it in a directory of your choice. The zip-file unpacks into a directory xftp containing two directories ftproot and home and the following files: The directory home is considered to be the local directory and ftproot the remote root directory tree for the Ftp transfer operations. To run the programming sample code you need to copy the ftproot directory tree to the remote system and define this directory as root directory to the ftp-server demon being accessible for you through your userid and an associated password.
Please, note that the directory tree content of the directory trees provided is pretty arbitrary and can be changed as appropriate to the function performed.

Furthermore, the following files are programming samples utilizing the functionality of the base and extended Ftp support classes:

The sample programs may be explored by modifying the connect statements according to your installation needs. Use the remote system name (or the IP-address), your userid and your password for connection to the remote host. Before executing the sample programs make sure the directory containing them is in your PATH.

Note: The sample programs contain a shell script prefix '#!/usr/local/orexx/bin/rexx' being used in the Linux system environment. If you are executing on an AIX system platform this shell script prefix has to be changed to '#!/usr/lpp/orexx/bin/rexx'.
Make sure that the sample program command files are executable when being invoked directly from the shell.
The shell script prefix is simply ignored when executing on Windows system platforms provided you have Object REXX for Windows V1.0.3.0 installed. If you are running an older version you simply need to remove the first line of the script.
On OS/2 Warp3 and Warp4, the first line of the sample programs has to be removed since the command interpreter requires a conventional comment starting in column 1 of the first line to invoke the REXX interpreter.

Execute the sample programs with care, in particular with the delete commands, since large amounts of data may be effected locally as well as remotely.

Have fun with Object REXX and the extended Ftp services!