AltME: R3 Protocols
Messages
Monday 7th April, 2014
GrahamC
22:39
@Luis .. I've not tried ftp on Android. Do the other protocols works?
Luis
22:47
Http, but no support redirection . (OK
ww.rebol.com
and error with
www.google.com
)
Luis
22:56
I am testing
https://github.com/gchiu/Rebol3/blob/master/protocols/prot-ftp.r
on rebol/build 12-jul-2013/19:02:11
GrahamC
23:05
http protocol doesn't support that degree of redirection on any platform
23:08
Luis, can you describe exactly what you tried on android?
GrahamC
23:13
I can't see any obvious reason why ftp shouldn't work if http works
Luis
23:13
Only change line 583 of ypur code pointing it to another ftp host . Tested without problems with Android ftp apps and same R3 code OK on Windows.
GrahamC
23:17
And did you try any other ftp host?
Luis
23:17
Nop
Luis
23:21
Only testing on
www.byethost.com
(free hosting)
Luis
23:30
same result on 000webhost.com. On Android only get first line: "port opened ...". No problem on Windows.
GrahamC
23:39
Which android version is this?
Luis
23:41
Android 4.3 Note II
GrahamC
23:43
Sorry, which version of Rebol3 android? Is it r3/droid or is it another version?
Luis
23:45
From Saphirion rebol/build 12-jul-2013/19:02:11
GrahamC
23:48
so, it gets to this line
https://github.com/gchiu/Rebol3/blob/master/protocols/prot-ftp.r#L532
and returns a port ?
23:49
All the 'read does is to kick off the awake handler
23:51
it should then do the 'lookup so if you remove the comment
https://github.com/gchiu/Rebol3/blob/master/protocols/prot-ftp.r#L238
23:54
Sounds like from what you're saying, it's not even getting to
https://github.com/gchiu/Rebol3/blob/master/protocols/prot-ftp.r#L234
Tuesday 8th April, 2014
Luis
00:01
Exactly
GrahamC
00:08
so, you do
cmd: open
ftp://site.name
and then
wait cmd
and it just hangs?
Last message posted 486 weeks ago.