home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
spewnew.zip
/
readme.txt
next >
Wrap
Text File
|
1998-04-17
|
2KB
|
55 lines
SPEWNEW.CMD
I built this rexx routine to maintain the CIM image archive
(http://www.mining.ubc.ca/images). It allows me to transfer the files that I build
on my local machine to the web site via FTP. It works by looking for all files
in a subdirectory tree that have the archive bit set.
Every time that you create or edit a file, its archive bit gets set. This is the
cue that SpewNew uses to know what to transfer. After a file has been successfully
transferred, it's archive bit is shut off to prevent it from getting transferred
again the next time you run SpewNew.
USAGE:
SPEWNEW \LOCALDIR ftp.remote.ca/pub/remote [loginID] [password]
where '\LOCALDIR' is the local directory root to begin searching down from
'ftp.remote.ca' is the ftp server to reach
'/pub/remote' is the remote directory root on the remote server
[loginID] (optional) the login ID to use entering the FTP server
[password] (optional) the password to use entering the FTP server
All the files in \LOCALDIR and in all the files below it are searched for files
to transfer.
REQUIREMENTS:
You must have the IBM EWS rexx FTP module called "rxftp". It is available
on the internet from www.cdrom.com or from the IBM support
bulletin boards.
On cdrom.com, download
http://www.cdrom.com/pub/os2/ibm/ews/rxftp.zip
RESET.CMD
If you crash something while running SpewNew, you'll need to run RESET.CMD to
free up your system resources prior to attempting another spew.
LIABILITY BULLSHIT
This software is free, so you get what you pay for. There are no guarentees
that it will work for you, nor will the author or distributor be liable for
any damage that it does to your system. Because the source code is provided,
any competent computer geek should be able to beat it into submission if the
program misbehaves.
ENJOY!
Apr 17, 1998
Alex Doll, Burnaby, BC
EIT, Team OS/2, CIM, SME, AusIMM, etc.