[REBOL] Re: how to properly set-up proxy for ftp?
From: petr:krenzelok:trz:cz at: 20-Jun-2001 14:24
Hi once again :-)
what is also strange, I can't "open" remote ftp connection and do "insert"? How do I
manually command ftp port?
->> ble: open/lines ftp://[can--moon--rebol--cz]:[my-pass-here--proxy--sec--trz--cz]
URL Parse: [can--moon--rebol--cz] my-pass-here proxy.sec.trz.cz none none none
Net-log: ["Opening" "tcp" "for" "FTP"]
connecting to: proxy.sec.trz.cz
tcp proxy.sec.trz.cz [can--moon--rebol--cz] 21
Net-log: [
none ["220" "230"]]
Net-log: {220 Netfinity FTP Proxy Server/Gateway ready / problemy pisemne k
[root--trz--cz] /}
Net-log: [
["USER" port/user] "331"]
Net-log: "331 Password required for can."
Net-log: [
["PASS" port/pass] "230"]
Net-log: "230-welcome to the lucky pit"
Net-log: "230-"
Net-log: "230-"
Net-log: {230-moon.moravia-steel.cz FTP server (Version wu-2.6.0(1) Fri Jun 23
09:17:44 EDT 2000) ready.}
Net-log: {230 User can logged in. Access restrictions apply.}
Net-log: [
"SYST" "*"]
Net-log: "215 UNIX Type: L8"
Net-log: [
"PASV" "227"]
Net-log: "227 Entering Passive Mode (194,196,81,131,6,255)"
Net-log: [
["CWD" either empty? port/path ["./"] [join "./" port/path]] "250"]
Net-log: "250 CWD command successful."
Net-log: [
["TYPE A"] ["200"]]
Net-log: "200 Type set to A."
Net-log: [
["LIST"] ["150" "125"]]
Net-log: {150 Opening ASCII mode data connection for directory listing.}
Net-log: [
none "226"]
Net-log: "226 Transfer complete."
->> huh: insert ble "LIST"
** Script Error: Cannot use insert on this type port
** Near: huh: insert ble "LIST"
Uh, I need a break probably :-)
-pekr-