[REBOL] Re: ftpupload.r (rebol newbie)
From: al:bri:xtra at: 31-Oct-2000 15:27
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
> ** Where: files: read Directory
> foreach file
> Please note that the path on my local drive is not the same as at the ftp
> local d:\gen\website\gci\gen\
> ftp home.gci.net/user/t/h/~themarvins/gen/
You just need to make these subtle changes:
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
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!