curl-users
Re: curl-users Digest, Vol 39, Issue 18
Date: Wed, 26 Nov 2008 09:56:05 +0530
hi ,
anyone can tell me how to load file into perticular directory of the
server using curl command line.
regds,
jay
On Tue, 2008-11-25 at 12:00 +0100, curl-users-request_at_cool.haxx.se
wrote:
> Send curl-users mailing list submissions to
> curl-users_at_cool.haxx.se
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
> or, via email, send a message with subject or body 'help' to
> curl-users-request_at_cool.haxx.se
>
> You can reach the person managing the list at
> curl-users-owner_at_cool.haxx.se
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of curl-users digest..."
>
>
> Today's Topics:
>
> 1. libcurl Couldnt resolve host name error (Aiken Tie)
> 2. Re: libcurl Couldnt resolve host name error (Daniel Stenberg)
> 3. Re: libcurl Couldnt resolve host name error (Aiken Tie)
> 4. Re: Problems and infos (Massimiliano Cuttini)
> 5. Re: Problems and infos (Daniel Stenberg)
> 6. Re: patch to enhance --progress-bar (Bj?rn Schl?gl)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 24 Nov 2008 13:59:54 +0200
> From: Aiken Tie <aiken.tie_at_flander.com>
> Subject: libcurl Couldnt resolve host name error
> To: curl-users_at_cool.haxx.se
> Message-ID: <492A973A.9000105_at_flander.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi list,
>
> I am having getaddrinfo(3) failed for www.google.com:80
> Couldn't resolve host 'www.google.com' error when I run my simple
> libcurl application in maemo scratch box.
>
> curl -v www.google.com works fine inside scratch box. So seems it is not
> rerouted problem as this link:
> http://curl.haxx.se/mail/archive-2008-09/0092.html
> but error reporting is same
>
> same application works fine outside of scratchbox.
>
> and hosts value already is "files dns" as this link:
> http://lists.scratchbox.org/pipermail/scratchbox-users/2007-March/000906.html
>
> my libcurl version 7.19.2
>
> anyone have some tips on that?
>
> Akram Tomur
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 24 Nov 2008 13:07:46 +0100 (CET)
> From: Daniel Stenberg <daniel_at_haxx.se>
> Subject: Re: libcurl Couldnt resolve host name error
> To: the curl tool <curl-users_at_cool.haxx.se>
> Message-ID: <alpine.LRH.1.10.0811241305200.8149_at_yvahk3.pbagnpgbe.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Mon, 24 Nov 2008, Aiken Tie wrote:
>
> > I am having getaddrinfo(3) failed for www.google.com:80 Couldn't resolve
> > host 'www.google.com' error when I run my simple libcurl application in
> > maemo scratch box.
>
> libcurl implies curl-library to be a more suitable list for this topic...
>
> > curl -v www.google.com works fine inside scratch box.
>
> And none of the versions are using a proxy?
>
> > same application works fine outside of scratchbox.
>
> Then I would blame said scratchbox.
>
> --
>
> / daniel.haxx.se
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 24 Nov 2008 14:15:56 +0200
> From: Aiken Tie <aiken.tie_at_flander.com>
> Subject: Re: libcurl Couldnt resolve host name error
> To: the curl tool <curl-users_at_cool.haxx.se>
> Message-ID: <492A9AFC.7000602_at_flander.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks for the quick response, I have send same topic to scratchbox
> mailing list too.
>
> Daniel Stenberg wrote:
> > On Mon, 24 Nov 2008, Aiken Tie wrote:
> >
> >> I am having getaddrinfo(3) failed for www.google.com:80 Couldn't
> >> resolve host 'www.google.com' error when I run my simple libcurl
> >> application in maemo scratch box.
> >
> > libcurl implies curl-library to be a more suitable list for this topic...
> >
> >> curl -v www.google.com works fine inside scratch box.
> >
> > And none of the versions are using a proxy?
> >
> >> same application works fine outside of scratchbox.
> >
> > Then I would blame said scratchbox.
> >
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 24 Nov 2008 21:49:11 +0100
> From: "Massimiliano Cuttini" <max_at_phoenixweb.it>
> Subject: Re: Problems and infos
> To: "the curl tool" <curl-users_at_cool.haxx.se>
> Message-ID: <010101c94e76$1c32ab80$2d01a8c0_at_pegaso>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
> reply-type=original
>
> Sorry Dan,
>
> > Try comparing the log output you see from a browser request using
> > Wireshark
> > or LiveHTTPHeaders or equivalent with the log output you see doing the
> > request with curl (after enabling debugging, of course). Once you find
> > the difference, you can match the curl request.
>
> How can I enable debugging by using cURL bundled with PHP?
>
> I would like to know how the HTTP request will be constructed so I can check
> if it's looks like LiveHTTPHeaders over Firefox.
>
> I already put all the opt necessery to have exactly the same header, however
> it's time to check if it's really the perfect copy.
>
> Thank you
>
> Max
>
>
> PhoenixWeb - WebDesign - www.phoenixweb.it
> Pegaso Hosting - Professional Hosting - www.pegasohosting.net
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 24 Nov 2008 22:29:23 +0100 (CET)
> From: Daniel Stenberg <daniel_at_haxx.se>
> Subject: Re: Problems and infos
> To: the curl tool <curl-users_at_cool.haxx.se>
> Message-ID: <alpine.LRH.1.10.0811242226470.18754_at_yvahk3.pbagnpgbe.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Mon, 24 Nov 2008, Massimiliano Cuttini wrote:
>
> >> Try comparing the log output you see from a browser request using Wireshark
> >> or LiveHTTPHeaders or equivalent with the log output you see doing the
> >> request with curl (after enabling debugging, of course). Once you find the
> >> difference, you can match the curl request.
> >
> > How can I enable debugging by using cURL bundled with PHP?
>
> Now you're slipping into areas you're better off discussing on the
> curl-and-php mailing list.
>
> And for specificly the topic of debug/verbose output using the PHP/CURL
> binding, you probably need to start checking out the source code (or contact
> the PHP team) since I believe there's only very poor support for it yet.
>
> I tend to recommend using the command line tool while working out the quirks
> for exactly that reason.
>
> > I would like to know how the HTTP request will be constructed so I can check
> > if it's looks like LiveHTTPHeaders over Firefox.
>
> curl --trace or --trace-ascii are perfect for that. PHP/CURL has no
> alternatives similar to that afaik.
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-11-26