[ALLY] New REBOL Networking Document Re:
[1/2] from: bobr::dprc::net at: 23-Jul-2000 21:48
At 01:24 AM 7/21/00 -0700, you wrote:
>I'd like to get comments on my new Networking document:
>
>http://www.rebol.com/docs/network.html
>
>See what you think.
To determine if a script exists on a page before evaluating it, you can use
the script? function.
old: if page: script http://www.rebol.com [do page]
new: if page: script? http://www.rebol.com [do page]
Note that the script? function will read of the page from the web site and
will return the page at its REBOL header position.
;# mailto: [bobr--dprc--net]
[2/2] from: doug:vos:eds at: 25-Jul-2000 14:45
The section where you discuss FTP could
use some examples as to how using
read [
scheme: 'FTP
host: foo.fee.ftp.com
...etc.
]
is not only useful but necessary
as in the case where an odd password is
used for the FTP server such as
PW: "123/abc" <-- slash is legal for Password, but fools the parser...
So read [scheme ...] is necessary.
I remember this happened to me when first learning REBOL last year.
Also, what about a few more hints on building new protocols
such as LDAP, or something.