Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[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
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