Please help with FTP read command
[1/3] from: princepawn::lycos::com at: 5-Sep-2000 11:15
For some reason, a machine I can manually ftp to does not work through rebol. My proxy
settings seem to be ok, because when I try to access the site anonymously, I get back
a denied msg.
However, I am confused as to why a REBOL read operation would be denied because of attemting
to *write* on the port.
>> read ftp://19.105.186.51
connecting to: 19.105.186.51
** User Error: Server error: tcp 530 Anonymous FTP access denied..
** Where: read ftp://19.105.186.51
>> read ftp://ftp_xing:[carpet12--19--105--186--51]
connecting to: 19.105.186.51
** Script Error: Cannot use write on this type port.
** Where: write-io sub-port #{05020002} 4
read-io
>> system/schemes/ftp/proxy/host
== "proxy.esn.instinet.com"
>> system/schemes/ftp/proxy/port-id
== 21
>> system/schemes/ftp/proxy/type
== cern
[2/3] from: carlos:lorenz at: 5-Sep-2000 16:54
Hi,
I guess this has nothing to do with proxy because it happens to me too
sometimes and there's no proxy down here.
Lorenz
----- Original Message -----
From: <[princepawn--lycos--com]>
To: <[list--rebol--com]>
Sent: Terça-feira, 5 de Setembro de 2000 15:15
Subject: [REBOL] Please help with FTP read command
> For some reason, a machine I can manually ftp to does not work through
rebol. My proxy settings seem to be ok, because when I try to access the
site anonymously, I get back a denied msg.
[3/3] from: alex:pini:mclink:it at: 5-Sep-2000 22:25
>- Open Your Mind -<
Quoting from [princepawn--lycos--com's] message (05-Sep-00 20:15:27).
p> However, I am confused as to why a REBOL read operation would be denied because of
attemting to *write* on the port.
p>>> read ftp://ftp_xing:[carpet12--19--105--186--51]
p> connecting to: 19.105.186.51
p> ** Script Error: Cannot use write on this type port.
p> ** Where: write-io sub-port #{05020002} 4
I can't explain the problem fully, but maybe I can focus it a little.
It would appear that REBOL thinks ftp_xing is the entire address you're trying to connect
to, using port [carpet12--19--105--186--51] or port carpet12, which I bet don't exist. (-:
Confront these (broken for clarity):
ftp:// ftp_xing : [carpet12--19--105--186--51]
ftp:// ftp.null.com : 1234
I guess (since I don't know how REBOL's FTP works internally) the write-io is just necessary
to *send* username, password and generally commands to the FTP server. After all, you
have to send them somehow, no? :-)
Alessandro Pini ([alex--pini--mclink--it])
You got a towel with you?
(Prefect)