OK, got rid of the double directory problem. but still have error 550 from
ftp site.
Rebol script is now as follows:
]
site: ftp://themarvins:[EMAIL PROTECTED]/
Directory: %/d/gen/website/gci/gen/
files: read Directory
foreach file files [
write site/~themarvins/gen/:file read Directory/:file
]
Error is now as follows:
** User Error: Server error: tcp 550 ./~themarvins/gen/: No such file or
directory..
** Where: write site/~themarvins/gen/:file read Directory/:file
>
Once again I tried varies paths: /user/t/h/~themarvins/gen/ also
putting it in the write statement rather then the site statement. Should
this make any diffrence?
I haven't gotten a responce back from GCI support yet concerning what
exactly the path is.
Thanks Andrew and Anton for your help thus far. LeEric
-----Original Message-----
From: Andrew Martin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, October 30, 2000 5:36 PM
Subject: [REBOL] Re: ftpupload.r (rebol newbie)
>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.
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.