AltME: R3 Protocols
Messages
Monday 7th April, 2014
GrahamC
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?
Luis
00:13
read cmd return none but wait cmd advance to login !!
GrahamC
00:14
that's odd .. sounds like it's waiting on the wrong port then
Luis
00:25
If change "read cmd" by "wait cmd" The last lines are:
C: PASS mypsw
===Client event: wrote
wrote to port, now read from it
=== Client event: read
00:26
Coffe time with my wife, returning in 40 minutes....
Last message posted 489 weeks ago.