cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Saving a page returned from a cURL 'post'........

From: Dutcher, John <John_Dutcher_at_URMC.Rochester.edu>
Date: Mon, 1 Nov 2004 14:05:31 -0500

I'm hoping that works pretty much across the board....
I got started down the wrong road by following the illustration
on page 7 of 17 of the manual where following redirects while
handling cookies suggests: curl -L -b empty.txt www.example.com

John D.

-----Original Message-----
From: Bill Mercer [mailto:bmerc_at_nccer.org]
Sent: Thursday, October 28, 2004 10:42 AM
To: curl-users_at_cool.haxx.se
Subject: RE: Saving a page returned from a cURL 'post'........

It's pretty much standard in most command line environments
for an option's parameters to be supplied right after the option itself.

>The issue came when using two codes (-d and -o)
>whether the codes come together at the beginning
>(-d -o) with the filename immediately following,
>and then the HTTP URL which did not work; OR
>to supply the -d code followed by the HTTP URL
>then the -o code followed by the filename; which did
>work.

                                       

                                       

                                       

                                       

                                       

                                       

                                       
Received on 2004-11-01