AltME: R3 Protocols

Messages

Bo
This is with the latest Windows build downloaded today from http://rebolsource.net.
NickA
Bo, you need to use the FTP protocol commands to read or save (you can't do it directly with 'read, 'write, 'load, etc.).  There are some working examples at  http://learnrebol.com/rebol3_book.html#section-7.9 and http://learnrebol.com/rebol3_book.html#section-7.10
Bo
Ah, thanks for that, Nick!
GrahamC
Yes, synchronous mode working on a url is not currently supported.  You need to work with a port!
Never got round to finishing the protocol.
There was no interest in 2010 lol
But I think it's easy enough to wrap them into a synchronous function

amacleod
Getting an eror trying to open ftp port using prot-ftp.r
cmd: open decode-url ftp://user:pw@majorityreporttv.com
Script error: net-log has no value
Where: open
GrahamC
doesn't use 'decode-url
amacleod
Will try again Graham, Thanks. I was working from NIck's tutorial...

amacleod
Graham, similar error.
cmd: open ftp://user:pw@majorityreporttv.com
Script error: net-log word is not bound to a context
Where: open
I'm doing: do prot-ftp.r or is it a module that should be included in needs[]: ?
Not up to speed with R3...
GrahamC
Looks like module handling has changed since I wrote this.
Bo has been using this ... Bo?
GrahamC
Just tried it and I don't get that error.  Are you using latest rebol3 ?

Luis
Version:   2.101.0.3.1
  Platform:  Windows win32-x86
  Build:     14-Aug-2013/14:51:03
>> do %prot-ftp.r
>> cmd: open ftp://user:pw@majorityreporttv.com
port opened ...
>>
amacleod
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
GrahamC
>> rebol/version
== 3.0.0.3.1
>> do %prot-ftp.reb
Module: "Rebol 3 FTP scheme" Version: 0.0.92 Date: 10-Jan-2010 24-Feb-2013
>> cmd: open ftp://user:pw@majorityreporttv.com
port opened ...
You're using an ancient version of Rebol3
Download latest from rebolsource.net
amacleod
Version:   2.101.0.3.1
Platform:  Windows win32-x86
Build:     4-Mar-2014/4:53:51
Same version#???
Same error too....
>> do %prot-ftp.r3
Module: "Rebol 3 FTP scheme" Version: 0.0.92 Date: 10-Jan-2010 24-Feb-2013
>> cmd: open ftp://majorityreporttv.com
** Script error: net-log word is not bound to a context
** Where: open
** Near: open ftp://majorityreporttv.com

Last message posted 486 weeks ago.