Am Freitag, 18. Oktober 2002 10:58 schrieb Hugues Moisy:
> Hi all,
>
> I want actually publish Rebol scripts in our Intranet, and use it in the
> Rebol/View Desktop.
>
> So I followed the instructions described in the "Distributed Desktop.pdf"
> file, I created a new line in the Bookmarks.r and it works fine.
>
> But when I try to open the script in Rebol/view, i get an error because
> Rebol/view cannot open an attached rebol file, loaded with the load
> function. Locally, the script a have opened is downloaded, but not the
> attached files.
>
> How can I avoid this ?
>
> Thanks.
>

Desktop itself  downloads only the main file. 
The other files you have to download yourself.

One way:
replace [load] with [load-thru url] (same for
given http://server.somewhere/dir/file, 
[load-thru] will place the file in 
[view-root/public/server.spmewhere/dir/file] 
if the file is not present. 
there are options 
[/to file] allows another destination,
[/update] downloads allways.
[/check [size date]] downloads only if the cached
file does not match. 

Another way are self-extracting scripts.
here you place all files in one which is downloaded
by desktop. it runs and writes it contents in the files,
then does the main script. 

Updating multiple files is a bit tricky, s i prefer the 
self-extracting way.

greeting, Volker


> Hugues

--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.

Reply via email to