actually, I think that returning TRUE from the 'read event means "we are done, no more data to read", which signals the higher level READ to return your data. But, I might be wrong here, I don't remember the details.
Rebolek
Ah, OK, so calling READ from READ. I will try that. Thanks.
Cyphre
Yes, I think Gabriele is right...you need to call READ action from READ event. AFAIK you can also WRITE on port from READ event to send some data to server if necessary...etc. It depends on the protocol spec/logic you need to follow.
>> load ftp://user:pass@ftp.sonic.net/ ** Script error: cannot access state in path port/state/connection ** Where: read either read-decode case load ** Near: read source if find system/options/file-types type [data: de...
I was wondering if this is a known issue or a regression?
The same port/state/connection error shows up when trying to write a file as well.
Version: 2.101.0.3.1 Platform: Windows win32-x86 Build: 14-Aug-2013/14:51:03
>> do %prot-ftp.r3 Module: "Rebol 3 FTP scheme" Version: 0.0.92 Date: 10-Jan-2010 24-Feb-2013 >> cmd: open ftp://user:pw@majorityreporttv.com ** Script error: net-log word is not bound to a context ** Where: open ** Near: open ftp://user:pw@majorityreporttv.com Version: 2.101.0.3.1 Platform: Windows win32-x86 Build: 14-Aug-2013/14:51:03