Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Please help with FTP read command

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)