cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Bill Mercer <bmerc_at_nccer.org>
Date: Thu, 28 Oct 2004 09:51:21 -0400

>I assume I need to add an '-o' in the command, where does the file name
>for the returning html page go ???

If you want to specify the filename yourself, just put it after the -o parameter like this:
curl -o MyLocalFileName http://Some.Web.Server

Or, you can use the uppercase -O parameter, and it will automatically give
the returned file the name from the server.

You should probably read through the curl manual.
http://curl.haxx.se/docs/manual.html

Cheers,

Bill Mercer - National Center for Construction Education and Research
3600 NW 43rd St
Gainesville, Florida 32606
http://www.nccer.org
Phone 352-334-0911 Fax 352-334-0932
=============================================

                                       
Received on 2004-10-28