Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: weblib.r

From: SunandaDH:aol at: 22-Mar-2003 4:14

Jack:
> I downloaded and ran the weblib.r file that is supposed to retreive all > the rebol programs in the library. It is at: > http://www.reboltech.com/library/files/weblib.r > > 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: change this.... write file read library/files/:file to this.... 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, Sunanda