cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl-users Digest, Vol 19, Issue 14

From: Ed S. Peschko <esp5_at_pge.com>
Date: Wed, 14 Mar 2007 01:51:10 -0700

All,

I'm having extreme difficulties getting around a certain very annoying habit that
my proxy has in connecting to the outside world.

I'm getting consistent 302 errors, redirecting me to a given website. Curl does not
successfully follow the proxy to the right place.

Any way around this would be GREATLY appreciated. If I could do it with one curl
command, that would be the best, but if there was a way to do multiple curl commands
to emulate getting around a 302, I guess that would be good as well.

(I am so sick and tired of asking for my company admins to put holes in the damn
firewall just to get around something that works perfectly well with a browser!)

Ed

(ps - when I leave the proxy off the command, I get a (56) proxy CONNECT aborted
error instead. I thought for a second that this was my way through because it
had worked in the past, but for some reason, these 56 errors started cropping up.
What does a 56 Proxy connect aborted error mean?
)

On Tue, Mar 13, 2007 at 07:45:15PM +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. How to do a HTTP-Post with "Content-Disposition: attachment;
> ..."? (Holger H?rtling)
> 2. Newbie question (Jason Swaim (TIDAL))
> 3. Re: Newbie question (Kjell Ericson)
> 4. Re: Newbie question (Dan Fandrich)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 13 Mar 2007 14:16:46 +0100
> From: Holger H?rtling <Holger.Haertling_at_web.de>
> Subject: How to do a HTTP-Post with "Content-Disposition: attachment;
> ..."?
> To: curl-users_at_cool.haxx.se
> Message-ID: <135809082_at_web.de>
> Content-Type: text/plain; charset=iso-8859-15
>
> Hi,
>
> I'm new to curl/libcurl and spent some time reading the documentation and mailing lists.
> However, I couldn't find an answer to the following question:
>
> is it possible to perform a file upload via HTTP-Post and use "Content-Disposition: attachment" instead of "multipart/form-data"?
>
> Thanks,
> Holger
> _____________________________________________________________________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 13 Mar 2007 13:23:00 -0500
> From: "Jason Swaim \(TIDAL\)" <Jason.Swaim_at_tidalsoftware.com>
> Subject: Newbie question
> To: <curl-users_at_cool.haxx.se>
> Message-ID:
> <7D80AE1B348A9C4A953CCCD8F6BA1E2C8839B1_at_tidal-mail-00.tidalsoft.local>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> New to curl and would like to know why I cannot get curl to recognize -o or if I am going about it the wrong way.
>
>
>
> What I am trying to do is to download a file using a https URL. I have SSL curl installed. I attempt the following: curl -o c:\temp\file.txt URL but this does not work. I checked the man and am not sure about exact syntax. Please advise.
>
>
>
>
>
>
>
> Thank you,
>
> Jason B. Swaim
>
>
>
> Product Consultant
>
> ?Office: 832 201 2553
>
> -Jason.Swaim_at_tidalsoftware.com <mailto:-Jason.Swaim_at_tidalsoftware.com>
>
> "http://www.tidalsoftware.com <http://www.tidalsoftware.com/support/Support.asp>
>
>
>
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://cool.haxx.se/pipermail/curl-users/attachments/20070313/cdb580bb/attachment-0001.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: image/jpeg
> Size: 1496 bytes
> Desc: image001.jpg
> Url : http://cool.haxx.se/pipermail/curl-users/attachments/20070313/cdb580bb/attachment-0002.jpeg
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: image/jpeg
> Size: 10040 bytes
> Desc: image002.jpg
> Url : http://cool.haxx.se/pipermail/curl-users/attachments/20070313/cdb580bb/attachment-0003.jpeg
>
> ------------------------------
>
> Message: 3
> Date: Tue, 13 Mar 2007 19:30:32 +0100 (CET)
> From: Kjell Ericson <Kjell.Ericson_at_haxx.se>
> Subject: Re: Newbie question
> To: the curl tool <curl-users_at_cool.haxx.se>
> Message-ID: <Pine.LNX.4.64.0703131927470.24220_at_linux3.contactor.se>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Tue, 13 Mar 2007, Jason Swaim (TIDAL) wrote:
>
> > I attempt the following: curl -o c:\temp\file.txt URL but this does not
> > work.
>
> Should work.
>
> Questions:
> * Any error message from curl?
> * What is the result in file.txt?
> * Does your URL include space or other characters that need to be encoded (or
> eaten by the prompt)?
> * Any information with the flag -I or -v ?
>
> // Kjell
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 13 Mar 2007 11:45:07 -0700
> From: Dan Fandrich <dan_at_coneharvesters.com>
> Subject: Re: Newbie question
> To: curl-users_at_cool.haxx.se
> Message-ID: <20070313184506.GA11175_at_coneharvesters.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> On Tue, Mar 13, 2007 at 01:23:00PM -0500, Jason Swaim (TIDAL) wrote:
> > ??????????????? New to curl and would like to know why I cannot get curl to
> > recognize ?o or if I am going about it the wrong way.
> >
> >
> >
> > What I am trying to do is to download a file using a https URL. I have SSL curl
> > installed. I attempt the following: curl ?o c:\temp\file.txt URL but this does
> > not work. I checked the man and am not sure about exact syntax. Please advise.
>
> "Does not work" is pretty vague. What exactly happens? The syntax you show
> is correct ( assuming you're actually using an ASCII 0x2D for the dash and
> not the UNICODE character you sent in your e-mail). Does c:\temp exist? Do
> you have write permission there? Are you using correct URL syntax? Does
> your curl support the protocol you're using? Do you have the correct SSL
> libraries installed? Do you have the CA cert bundle installed and is the
> SSL certificate signer included? Posting the actual error message from
> curl and the actual command line you're using will answer most if not
> all of these questions. Adding -v to the command line will give even
> more information.
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web change of address service
> Let webmasters know that your web site has moved
>
>
> ------------------------------
>
> _______________________________________________
> curl-users mailing list
> curl-users_at_cool.haxx.se
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
>
>
> End of curl-users Digest, Vol 19, Issue 14
> ******************************************
Received on 2007-03-14