Hi Chuck, ** Access Error: Cannot open /D/nnet/html/file.html. Some ideas, I've received this error when: 1. The specified directory does not exist 2. The file already exist but is write protected 3. I did not have permission to write in that directory Does the directory and file exist? exist? %"/D/nnet/html/" exist? %"/D/nnet/html/file.html" Can you save other files in that directory? Brgds /Micael -----Ursprungligt meddelande----- Fran: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Skickat: den 21 oktober 1999 00:43 Till: [EMAIL PROTECTED] Amne: [REBOL] SV: [REBOL] Saving to a different directory Re: Micael, I tried both of your suggestions on my siteloadertest.r and neither one worked. Both returned the same error (this is copy/pasted): Option1 syntax: write %/D/nnet/html/file.html read http://www.dot.com/index.html Option1 results: ** Access Error: Cannot open /D/nnet/html/file.html. ** Where: write %/D/nnet/html/andovernews.advertiserwatch.html read http://www.andovernews.com/cgi-bin/news_search.pl?,advertiserwatch Option2 syntax: write to-file %"/D/nnet/html/file.html" read http://www.dot.com/index.html Option2 results: Access Error: Cannot open /D/nnet/html/andovernews.advertiserwatch.html. ** Where: write to-file %/D/nnet/html/andovernews.advertiserwatch.html read http://www.andovernews.com/cgi-bin/news_search.pl?,advertiserwatch What could it be? The noted directories are there (I've verified and checked the spelling), and this script works fine when I avoid all the directory stuff and just have the file write to Rebol's default root (D:\nnet\rebol\). Still trying to figure it out. Chuck Heffner [EMAIL PROTECTED] A new paradigm in viewing news - coming soon (maybe) > Hey Chuck, Try > > write %/D/nnet/html/file.html read http://www.dot.com/index.html > or > write to-file %"/D/nnet/html/file.html" read http://www.dot.com/index.html > > Brgds /Micael > My Rebol root is d:/nnet/rebol/ (it's there with all the other > tools I use for my upcoming site). I want to save my downloaded > files to d:/nnet/html/ . > My script format is: > write %file.html read http://www.dot.com/index.html > I've tried all of these without success: > write /D/nnet/html/%file.html read > http://www.fubar.com/index.html > write /D/nnet/html/file.html read http://www.dot.com/index.html > write D/nnet/html/%file.html read http://www.dot.com/index.html > write D/nnet/html/file.html read http://www.dot.com/index.html > write "/D/nnet/html/file.html" read http://www.dot.com/index.html > Last, the user guide and dictionary told me how to do various > dir tasks, but not how to save (even off-handed). Solution?
