| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Specifying a IP address to curl
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 4 Mar 2005 12:29:06 +0100 (CET)
On Fri, 4 Mar 2005, Sagar Saibi wrote:
> I want to download a web page with a specific IP (167.68.1.66).
You mean you want to fetch from that IP
curl http://167.68.1.66/
or use it as source-IP?
curl --interface 167.68.1.66 [URL]
> Using -p option to specify IP it gives me connection error.
-p enables proxytunnel. How would that help you?
> But if am I using -P option it downloads the web page.
-P enables FTP PORT. I don't see how that helps you either.
> And with the -v3 option it gives me the following log :
-v and -3 are two options.
> About to connect() to webproxy port 80
Different than what? Can you show us a full command line?
> Can somebody please confirm whether the -P option is using my specified IP
It does if you transfer with FTP and the given IP is the one you want the
--
Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-03-04
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info