And now I figured out the rest from your scripts.  Turns out I need a
complete pathname for the destination file (i.e. I must specify it as
ftp://user:pass@host/filename not ftp://user:pass@host.  Oops.

Thanks again.

-ben-

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 29, 2000 18:03
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Newbie questions Re:(2)
>
>
> Thanks for the help.  I actually found the ASK keyword after I sent my
> question, but I still have the STOR problem.  Any toughts?
>
> Thanks.
>
> -ben-
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, March 29, 2000 17:27
> > To: [EMAIL PROTECTED]
> > Subject: [REBOL] Newbie questions Re:
> >
> >
> > I use REBOL to manage my index.html file for my web site.
> > Here are the two simple programs I use:
> >
> > REBOL [
> >     Title:    "getindex.r"
> > ]
> > password: ask/hide "Password: "
> > index-file: join ftp://login: [password "@webhost.net/index.html"]
> > write %index.html read index-file
> >
> > REBOL [
> >      Title:    "putindex.r"
> > ]
> > password: ask/hide "Password: "
> > index-file: join ftp://login: [password "@webhost.net/index.html"]
> > write index-file read %index.html
> >
> >
> >
> > >>> <[EMAIL PROTECTED]> 03/29 9:27 AM >>>
> > I'm trying to use REBOL to automate uploading a file to my
> > websit,e which is
> > hosted at Hiway.com (so I have no control over the software
> > there).  I have
> > two questions:
> >
> > 1) I have to put the name/password in the script.  I hate this.
>  Is there
> > any way to tell the script to stop and get the password from the
> > console at
> > the appropriate time?  The manual says I can put them in
> > variables -- that's
> > not a help, of course.
> >
> > 2) I get the following error when I run the script:
> >
> > ** User Error: Server error: tcp 500 'STOR ': command not understood..
> > ** Where: write ftp://name:[EMAIL PROTECTED] read
> > file://my%20documents/bookmarks.htm
> >
> > I've tried changing the password just to see if I am really getting a
> > meaningful error, and I am, as I get a login failure instead wehn
> > I do that.
> > I've tried using a relativepathname and uploading from my rebol
> directory
> > with the same result (STOR not understood).
> >
> > Anybody else had this?  Any suggestions?
> >
> > Thanks.
> >
> > -ben-
> >
> >
> >
>
>

Reply via email to