cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: -K/--config help

From: Jake Abramson <curl_at_email.liquidboxes.net>
Date: Sat, 26 Mar 2005 12:33:42 -0800

Okay, I've gotten through the first part.

However my -K file has double quotes in it (") and white space ( ). I've
turned the quotes into (\") and quoted all the way around the entire
command, and it curl gives me a warning that I"m submitting gibberish. I'm
also attaching a file with the -D file as an attachment and it seems to be
ignored.

Without the -K file, and putting everything on a single command line, all
the commands work correctly. Any ideas?

-ja

At 01:09 PM 3/25/2005, you wrote:
>You only need one or the other. curl http://website.com -K file.txt and
>curl http://website.com --config file.txt should do the same thing.
>
>-----Original Message-----
>From: curl-users-bounces_at_cool.haxx.se
>[mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of Jake Abramson
>Sent: Friday, March 25, 2005 3:58 PM
>To: curl tool talk
>Subject: RE: -K/--config help
>
>
>Yes and that much I do know (please don't assume that I didn't look at the
>manual), however it doesn't make sense to me. What is the correct syntax,
>is it this?
>
>curl http://website.com -K --config file.txt
>
>?
>
>
>
>At 12:44 PM 3/25/2005, you wrote:
> > -K/--config <config file>
> > Specify which config file to read curl arguments from.
> > The config file is a text file in which command line
> > arguments can be written which then will be used as if
> > they were written on the actual command line. Options
> > and their parameters must be specified on the same con-
> >
> > fig file line. If the parameter is to contain white
> > spaces, the parameter must be inclosed within quotes.
> > If the first column of a config line is a '#' charac-
> > ter, the rest of the line will be treated as a comment.
> >
> > Specify the filename as '-' to make curl read the file
> > from stdin.
> >
> > This option can be used multiple times.
> >
> >(From the curl manual - try curl --manual or
> >http://curl.haxx.se/docs/manpage.html)
> >
> >Chris
> >
> >-----Original Message-----
> >From: curl-users-bounces_at_cool.haxx.se
> >[mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of Jake Abramson
> >Sent: Friday, March 25, 2005 12:43 PM
> >To: curl-users_at_cool.haxx.se
> >Subject: -K/--config help
> >
> >
> >My command is too long for a dos prompt to handle so I'm going to use the
> >-K/--config combo. I can't find documentation on how to specify what the
> >-K is pointing to. Can someone give me some assistance?
> >
> >Thanks.
Received on 2005-03-26