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:
- local
Origin on local disk.
- host
Remote host.
Both host name and IP address can be used.
- home
Origin on remote host (ftp server).
- user
Ftp username.
- password
Ftp password.
'*' causes prompting for it every time running this program.
- skip_backups
If the value is set to 1, preventing to transfer files of which extensions are .'bak'. If 0, all files (excluding .links) are transfered.
- debug
If the value is set to 1, printing debug infomation.
Normally, set this to 0.
- delegate
Specifing ftp-delegate proxy host.
Normally, do not specify this option.
Disclaimer
Absolutely NO WARRANTY,
but you can freely use this program.
Ichiro Nakahashi (ichiro@nnip.org)