[REBOL] Re: weblib.r
From: SunandaDH:aol at: 22-Mar-2003 4:14
> I downloaded and ran the weblib.r file that is supposed to retreive all
> the rebol programs in the library. It is at:
> It didn't work, so after some trial and error, I got the following
> modified example to work (almost). It stalled when it reached a file
> called "temp". How should it be modified to get only files ending in
> ".r" ?
Sorry to hear you are having trouble getting hold of all the scripts.
The script library has moved, so the Reboltech one is out of date. The new
library is at www.rebol.org.
But that's not of immediate use to you because it doesn't -- yet -- have an
option to do a massed download.
So, back to Reboltech.com -- I suspect the temp that is choking it is a
folder rather than a file (Though that's just a guess).
A quick hack would be to ignore errors in the download process:
write file read library/files/:file
error? try [write file read library/files/:file]
Or to this if you want to see the errors.....
if error? try [write file read library/files/:file] [
print ["failed on file " file]
Hope that helps,