[prev in list] [next in list] [prev in thread] [next in thread] 

List:       curl-users
Subject:    Re: new user question
From:       Daniel Stenberg <daniel-curl () haxx ! se>
Date:       2003-11-12 7:18:13
[Download RAW message or body]

On Tue, 11 Nov 2003, Tony Caduto wrote:

> First what a great program :-)

Thanks.

> I downloaded the win32 version from 11/3 (native) and it works great, except
> I was wondering how I can read commands in from a file so I don't have a
> huge command line?
>
> I tried the --config option, but it does not seem to work.

--config is the way to go, if this doesn't work it is either a bug in curl or
a user error on your behalf.

> curl --config c:\myconfig.txt https://mywebserver.com/cgi-bin/upload
>
> in the config file I have
>
> -F "file=@c:\junk.txt"
> -F  "user=tony"
> -F "pass=1234567"
>
> This all works if I do it all from the command line.

So what differs when you do this? In what way doesn't it work? I need more
info to better understand what's going on.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
 [[ Do not post private mails to this email address. They won't reach me. ]]


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic