[EMAIL PROTECTED] wrote:
> write %url/dir/file read url/other-dir/other-file
> 
> That's right, right?  how would I put the "other-file" in date.htm
> format? (whatever the current date is...)

How about something like:
newurl: to-url rejoin ["ftp://www.server.com/path/" :now/date ".html]
== ftp://www.server.com/path/1-Nov-1999.html

> I wanna copy a file from one remote directory to another, name it
> date.htm, then update a page with a link to date htm.  I'd like to do
> this every day.
> 
> I'd have to have a rebol interpreter on the remote site to completely
> automate this, wouldn't I?  I wonder if my isp would go for that?

If you can save via FTP, you wouldn't need REBOL on your ISP.  You 
could retrieve the page via either FTP or HTTP, then FTP it out to 
your server with the new name.  The copy part of the script could be 
as simple as:

oldurl: to-url "http://www.rebol.com/index.html"
newurl: to-url rejoin ["ftp://user:[EMAIL PROTECTED]/"
                       :now/date ".html"]
write newurl read oldurl


Regards,
Kev

------------------------------------------------------------------------
Kevin McKinnon, Network Engineer                 [EMAIL PROTECTED]
Sunshine Communications                     http://www.sunshinecable.com
                      **NOTE NEW E-MAIL ADDRESS**
PGP Public Key: http://www.dockmaster.net/pgp.html   PGP 6.0 www.pgp.com

Reply via email to