LeEric Marvin wrote:
> Tried your suggestion, here's the errors.....
>
> Directory: %d/gen/website/gci/gen/
> files: read Directory
> foreach file files [
>  write site/:file read Directory/file
>  ]
>
>
> ** Access Error: Cannot open
/D/GEN/WebSite/gci/gen/d/gen/website/gci/gen/.
> ** Where: files: read Directory
> foreach file
>
> Please note that the path on my local drive is not the same as at the ftp
site.
> local   d:\gen\website\gci\gen\
> ftp       home.gci.net/user/t/h/~themarvins/gen/

You just need to make these subtle changes:
        Directory: %/d/gen/website/gci/gen/
    Note the "/" before the "d/gen/website/gci/gen/". This indicates "the
root" of Rebol's file system. Also, it's best if your script was outside
that directory, otherwise it'll get sent to the site as well (along with
your password!).
    This needs to be done as well:
        write site/:file read Directory/:file
    Note the ":" before the second "file". That's a mistake on my part.

I hope that helps!

Andrew Martin
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
-><-


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

Reply via email to