upload.cmd


Description

Upload.cmd transfers files (including sub-directories) from local disk to ftp server. Only modified files are transfered by comparing times stamps. Deleted files on local host will be also removed from remote host. This tool is intended to use for updating WWW pages.

Upload.cmd requies Object REXX.

Usage

Excute from OS/2 command prompt.

upload target

target must be one of entry-names in upload.cfg file.

upload.cfg file

upload.cfg should be placed into the same directory with upload.cmd itself. The format is;

entry-name
option = value
option = value
:
:

entry-name
option = value
option = value
:
:
Upload.cfg shuld have at lease one entry. Entry starts with entry-name, and some options follow. One blank line is needed between two entries.

entry-name must be valid with REXX interpreter and command interpreter. Short word without space is a good choice.

Options:

Disclaimer

Absolutely NO WARRANTY, but you can freely use this program.


Ichiro Nakahashi (ichiro@nnip.org)