I am wondering if there are any limitations to transferring files using FTP
from a rebol script.
I am getting "** User Error: Server error: tcp 150 Preparing to transfer
binary file" for files above 16MB (15MB work fine, but 16.4MB and above
error immediately).
I am using write/binary (to
Brian,
I have managed to transfer files over 16MB, but the problem is write/binary
%bigfile read/binary ftp://a.b.c/bigfile will read the file into memory
before writing. It may be possible to use read/part and write/append to
move the file in smaller chunks like bo's movefile.r on
Brian,
In follow up to my own post, it looks like bo's script already does this,
so have a look at www.rebol.org/file/movefile.r
This may help.
cheers john
Hello
First, Sorry for my "english".
I write in Rebol my first large project. And I need procedure which can send
(upload) files to cgi script. In www.rebol.org archive i found post.r by
Andrew Grossman. I bulid html page and test this scipt. But files saved by
this script are corrupted
John,
Many thanks to you for taking the time to post your wisdom. I actually had
a hard time trying to read Bo's code. I must have went over it 10+ times,
but I finally have figured it out. Those comments in the function block
really had me going insane until I realized they were just
Brad wrote:
It seems that the 'parse' function in Rebol is quite advance, the
documentation--at least in the dictionary, suggests great things. This
example they give is awesome--also pretty much unexplained:
;page: read http://www.rebol.com
;parse page [thru title copy title to /title]
[EMAIL PROTECTED] wrote:
I want to write an XML'ish parser. Which is to say that I need to match
You may want to give a look to the function PARSE-XML (included in
REBOL/Core). Try SOURCE PARSE-XML.
Ciao,
/Gabriele./
o) .-^-. (--o
|
Hi Brad,
you wrote:
[snip]
I want to write an XML'ish parser. Which is to say that I need to match
beginning and ends of tags, but I don't know the tag names. i.e.
itembook/itemnameXML in a nutshell/name The tags are made up for a
specific data set, but i don't know what they are in
Hello.
I just downloadedhttp://www.rebol.com/examples/examplesall.r from the web site.
Apparently this is compressed as I see junk when I look at it in a text editor.
There is no instruction on how to extract it at that point on the web page. I have
been unable to find out how to extract
You guys are awesome!
Hi Brad,
you wrote:
[snip]
I want to write an XML'ish parser. Which is to say that I need to match
beginning and ends of tags, but I don't know the tag names. i.e.
itembook/itemnameXML in a nutshell/name The tags are made up for a
specific data set, but i don't know
Hi Cal
You could try sending e-mail to [EMAIL PROTECTED] begging to be subscribed to
the ALLY list.:-) Should work.
Ciao
Larry
'
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 28, 2000 9:00 PM
Subject: [REBOL] Ally list
How do I subscribe
Title: Catching Web Site Access Errors
I am connecting to a remote site using:
page: read http://www.noSuchSite.com
How do I catch the scenario where the site doesn't exist, with no error checking I get the following:
Access Error: Cannot connect to www.noSuchSite.com
Melvin
I did the same and it works now
Thanks
Carlos
-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Monday, February 28, 2000 1:32 PM
Subject: [REBOL] Folders on Mac Re:(4)
I know this has nothing to do with the matter but just
Hi Gabriele,
I'm using direct right now, I have checked pass-through, too,
but wasn't able to resolve this way ...
Everything else works fine, but having a read that can't
return a value, isn't optimal, I think ;-)
thanks,
Ingo
Those were the words of [EMAIL PROTECTED]:
[EMAIL PROTECTED]
Hi Gabriele, and others,
think it's best to send my protocol, though it's not
yet working. Remove the 'halt, to get the error.
If someone knows what to do about it, please let me know.
; --- Script starting below this line ---
REBOL [
Title: "REBOL FreeNet Protocol"
Date: 2000-02-29
Hi Rebols,
my script has a SECURE NONE at the one of the first lines in order to avoid
that annoing question about write permission.
In Windows it works out fine but on MAC OS I still have a question where
Rebol wants me to be sure security is going to be down. WHY?
Any help is welcome
Carlos
actually, in order to discuss the View Beta, going through [EMAIL PROTECTED] for the
Ally list is more appropriate, and no begging required :-)
dan
At 10:41 AM 2/29/00 -0800, you wrote:
Hi Cal
You could try sending e-mail to [EMAIL PROTECTED] begging to be subscribed to
the ALLY list.:-)
I did the same and it works now
i trashed my REBOL prefs file and re-installed the latest version and it
works now.
-dg
Thanks
Carlos
-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Monday, February 28, 2000 1:32 PM
Hi,
I need to send a sequence of 694 bytes to a TCP port. My quetion is: How do
I collect these bytes? (In Smalltalk I would use a ByteArray).
I need to send, for example:
694 as unsigned short (2 bytes)
251 as unsigned long (4 bytes)
1 as unsigned short (2 bytes)
...
Hi Martin,
write/binary filename.extension
decompress read/binary downloaded-filename.extension
At 01:12 PM 2/29/00 -0400, you wrote:
Hello.
I just downloadedhttp://www.rebol.com/examples/examplesall.r from
the web site.
Apparently this is compressed as I see junk when I look at it in
Hi Melvin,
if error? error: try [
read http://www.does-not-exist.com
] [
error: disarm :error probe error
]
connecting to: www.does-not-exist.com
make object! [
code: 507
type: access
id: no-connect
arg1: "www.does-not-exist.com"
arg2: none
arg3:
Hi Carlos,
secure none does not cause a message box when security has previously been
set to none. For instance if your user.r file includes the secure none
expression, then if you run a script later which also sets secure to none,
the messagebox will not be displayed.
The messagebox will
Hi Carlos,
correct instructions, wrong example. Instead of:
Under MS Windows that would be:
rebol.exe -c
use rebol.exe -s
;- Elan [: - )]
Martin, I think you just "do" the file, but you must use REBOL 2.1.2 or
equiv. Here's what happened when I used REBOL/view:
do http://www.rebol.com/examples/examplesall.r
connecting to: www.rebol.com
** Script Error: Script needs: 2.1.2.
** Where: do http://www.rebol.com/examples/examplesall.r
Using REBOL 2.2.x do http://www.rebol.com/examples/examplesall.r
works fine. It creates a large number of individual files.
Russell [EMAIL PROTECTED]
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 29, 2000 10:12 AM
Subject: [REBOL]
25 matches
Mail list logo