From 5987791516c4a7e35c457b2cc381a88c47bafb02 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 22 Oct 2003 14:37:24 +0000 Subject: [PATCH] encourage use of -c to store cookies instead of -D --- docs/curl.1 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/curl.1 b/docs/curl.1 index fc55ed2..2a0cbac 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -2,7 +2,7 @@ .\" nroff -man curl.1 .\" Written by Daniel Stenberg .\" -.TH curl 1 "17 Oct 2003" "Curl 7.10.8" "Curl Manual" +.TH curl 1 "22 Oct 2003" "Curl 7.10.8" "Curl Manual" .SH NAME curl \- transfer a URL .SH SYNOPSIS @@ -90,8 +90,8 @@ file format. .B NOTE that the file specified with -b/--cookie is only used as input. No cookies -will be stored in the file. To store cookies, save the HTTP headers to a file -using -D/--dump-header! +will be stored in the file. To store cookies, use the -c/--cookie-jar option +or you could even save the HTTP headers to a file using -D/--dump-header! If this option is set more than once, the last one will be the one that's used. @@ -224,9 +224,10 @@ If this option is used several times, each occurrence will toggle this on/off. .IP "-D/--dump-header " Write the protocol headers to the specified file. -This option is handy to use when you want to store the cookies that a HTTP -site sends to you. The cookies could then be read in a second curl invoke by -using the -b/--cookie option! +This option is handy to use when you want to store the headers that a HTTP +site sends to you. Cookies from the headers could then be read in a second +curl invoke by using the -b/--cookie option! The -c/--cookie-jar option is +however a better way to store cookies. When used on FTP, the ftp server response lines are considered being "headers" and thus are saved there. -- 2.7.4