cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to specify the proxy protocol (Socks .vs. http) from command line?

From: Toby Peterson <toby_at_opendarwin.org>
Date: Sun, 18 Apr 2004 17:47:15 -0400

On 18 Apr 2004, at 16.09, Chris Drake wrote:

> But what do I use instead if it's a SOCKS (not HTTP) proxy, or what
> other options do I need to pass or set to tell it to talk "socks" and
> not "http" to accomplish my request?

        --socks <host[:port]>
               Use the specified SOCKS5 proxy. If the port number is not
speci-
               fied, it is assumed at port 1080. (Option added in 7.11.1)

               This option overrides any previous use of -x/--proxy,
as they
               are mutually exclusive.

               If this option is used several times, the last one will
be used.

Toby Peterson
Developer, OpenDarwin
Received on 2004-04-18