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

[REBOL] Re: how to properly set-up proxy for ftp?

From: petr:krenzelok:trz:cz at: 20-Jun-2001 11:17

Hi, I still can't to sort it out. I contacted our admin and he told me, that we use typical port 21 for ftp connection, but separate port 20 for data connection, uh, is that normal case? I connected to required host using Rebol and followind aproach: my-ftp: open/lines [scheme: 'tcp host: "" port-id: 21] insert my-ftp "USER [can--moon--rebol--cz]" ; account and host I want to connect to ... insert my-ftp "PASS my-password-here" then I am finally logged to 'can account on ' server ... But how to get thru using ftp scheme? I echoed my ftp scheme and found out, that it can't open sub-port ... PS: aha! :-) Is it kind of forwarding or what? Following works: ble: read [scheme: 'ftp host: "" user: "[can--moon--rebol--cz]" pass: "my-pass-here"] Can I escape "@" in my direct ftp://[can--moon--rebol--cz]:[my-pass-here--proxy--sec--trz--cz] somehow? Thanks, -pekr- Petr Krenzelok wrote: