So, Daniel: what do you see if you do what-dir in the
other script? Can you change-dir? What are the
system/options/path, and system/script/path values?
Can your script write out a test file, if so, where
does it show up?
The exists? function actually makes this determination
by attempting to open a port to the file or url your
specified. If opening the port results in an error it
does not exist (for all practical purposes that's true
as far as REBOL's concerned there)-- otherwise it does
exist. Point being that other things can make it
appear to not exist.
-jeff
> > Just a guess, but does the same happen if you add a
> > trailing slash, ie: print exists? %./
>
> Yes it does. I guess it has to do with file permissions.
> I'm running NT, the script does some stuff on files but
> it's local. The rebol script invoked with the do/args is
> outside of the cgi-bin directory defined in Apache. Is this
> a problem ? (it runs fine, it just seems oblivious to what
> local files pertains).
>
> daniel