[REBOL] Does REBOL have ODBC support? Re:

2000-03-29 Thread sterling


Soon.

Sterling

> So, would someone please fill me in... does REBOL connect to
> datasources, or not?
> 
> TIA,
> Ron
> 
> ron allen hornbaker   õ¿õ¬
> mailto:[EMAIL PROTECTED]~
> humankind systems, inc.
> http://humankindsystems.com/LoftCam
> 
> 
> 
> 




[REBOL] Does REBOL have ODBC support?

2000-03-29 Thread ron

Hi everyone,

Stumbled upon REBOL today, and while impressed with its simplicity and
power with internet protocols, I couldn't find any information on the
website regarding its support or lack thereof for ODBC connections (or
even better, native database connections).

I'm coming from a ColdFusion mindset, where database connectivity is a
given, and necessary when getting past even the simplest of web
applications.

So, would someone please fill me in... does REBOL connect to
datasources, or not?

TIA,
Ron

ron allen hornbaker   õ¿õ¬
mailto:[EMAIL PROTECTED]~
humankind systems, inc.
http://humankindsystems.com/LoftCam






[REBOL] Newbie questions Re:(3)

2000-03-29 Thread littauer

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




[REBOL] Newbie questions Re:(2)

2000-03-29 Thread littauer

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




[REBOL] Newbie questions Re:

2000-03-29 Thread vhirsch

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-





[REBOL] FTP Connection problems

2000-03-29 Thread mdb

Hello, i'm having 2 problems using FTP.

1.When i try to connect to my ISP, i always get the Network timeout
message. I have changed the timeout to 10 minutes but still get the same
error. I am able to connect using the ftp exec supplied with Win98. The
only difference i see is that using the WIN98 ftp is that it

"Opening ASCII mode data connection for /bin/ls."

whereas the REBOL ftp uses BINARY mode??

>> read ftp://uuu:[EMAIL PROTECTED]/
URL Parse: uuu xxx home.gci.net none none none
Net-log: ["Opening tcp for" FTP]
connecting to: home.gci.net
Net-log: [
none ["220" "230"]]
Net-log: {220 firebird.gci.net FTP server (Version wu-2.6.0(2) Wed Jan 5
11:31:52 AKST 2000) ready
.}
Net-log: [["USER" port/user] "331"]
Net-log: "331 Password required for uuu."
Net-log: [["PASS" port/pass] "230"]
Net-log: "230 User uuu logged in."
Net-log: [
"TYPE I" "200"]
Net-log: "200 Type set to I."
Net-log: [["PORT" port/locals/active-check] "200"]
Net-log: "200 PORT command successful."
Net-log: [["CWD ~"] "250"]
Net-log: "250 CWD command successful."
Net-log: [["CWD" either empty? port/path ["./"] [join "./" port/path]]
"250"]
Net-log: "250 CWD command successful."
Net-log: [["LIST" "."] ["150" "125"]]
Net-log: {150 Opening BINARY mode data connection for /bin/ls.}
Net-log: [
none "226"]
** Access Error: Network timeout.
** Where: read ftp://uuu:[EMAIL PROTECTED]/



2. Connecting to an IBM mainframe always gives the following error message.
Win 98 ftp connects correctly 

>> read ftp://uuu:[EMAIL PROTECTED]/
URL Parse: uuu xxx jdc1.state.ak.us none none none
Net-log: ["Opening tcp for" FTP]
connecting to: jdc1.state.ak.us
Net-log: [
none ["220" "230"]]
Net-log: {220-FTPSERVE IBM MVS V3R1 at JDC1.STATE.AK.US, 09:01:39 on
03/29/00}
Net-log: {220 Connection will close if idle for more than 5 minutes.}
Net-log: [["USER" port/user] "331"]
Net-log: "331 Send password please."
Net-log: [["PASS" port/pass] "230"]
Net-log: "230 uuu is logged on."
Net-log: [
"TYPE I" "200"]
Net-log: "200 Representation type is IMAGE."
Net-log: [["PORT" port/locals/active-check] "200"]
Net-log: "200 Port request OK."
Net-log: [["CWD ~"] "250"]
Net-log: [["CWD /"] "250"]
** User Error: Server error: tcp 550 A qualifier in "/" begins with an
invalid character..
** Where: read ftp://uuu:[EMAIL PROTECTED]/





[REBOL] Rebol/NT: COM objects, ODBC?

2000-03-29 Thread lconrad

Is there any way to have Rebol talk to NT COM objects or to an ODBC interface?

Thanks,
Len




[REBOL] [REBOL]CGI Bug in rebol?

2000-03-29 Thread tjohnson

If I follow the link that Jan gave me below,
I see reference in code that Jan has written
to decode-cgi as being redefined because the
original is is buggy in rebol/core 2.2. 

Is this being fixed?
Just what are the symptoms of these bugs?

Thanks
Tim
At 01:50 PM 3/29/00 +0200, you wrote:
>
> Hi Tim.
>
>If you are playing with CGI and REBOL, 
>maybe you can found this stuff interesting:
>
>http://www.rebol.cz/cgi/
>
>Regards,
>Jan
>
>--
>Jan Strejcek
>[EMAIL PROTECTED]
>
>




[REBOL] finding the correct binary

2000-03-29 Thread norsepower

How can I find out which rebol binary to upload to my cgi-bin 
directory?  I am using Dellhost, which has several possible server 
configurations.  I do not have telnet access to my site, but I do have 
ftp.  When I use the 'system' command in ftp it tells me

>ftp system

215 UNIX Type: L8

Isn't there a web page somewhere where I can submit my URL to find out 
my server configuration?

Thanks.

-Ryan




[REBOL] Newbie questions

2000-03-29 Thread littauer

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-




[REBOL] [REBOL]Where's CGI Documentation? Re:

2000-03-29 Thread strejcek


 Hi Tim.

If you are playing with CGI and REBOL, 
maybe you can found this stuff interesting:

http://www.rebol.cz/cgi/

Regards,
Jan

--
Jan Strejcek
[EMAIL PROTECTED]




[REBOL] FW: [REBOL] Newbie question #2 - Pattern making and using? Re:(9)

2000-03-29 Thread bpaddock

>cat: [ [thru "cat " | thru " cat" | thru "kitty " | thru " kitty"] to end ]
>sentence: "I have a dog and a cat"
>print (parse sentence cat) and (parse sentence dog)
>> TRUE

I've not been following this thread close enough to know
whats really going on, but to me it looks like your
reinventing the parser from an Adventure Game.

Why not port the needed section of the game Nethack, or
other text based adventure game, to Rebol?