From 7fdf30f25604195245b05c6bf6f3b10bee6af36a Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Tue, 24 Oct 2023 02:01:12 -0400 Subject: [PATCH] page-footer: clarify exit code 25 - Clarify that curl tool exit code 25 means an upload failed to start. Exit code 25 is equivalent to CURLE_UPLOAD_FAILED (25). Prior to this change the documentation only mentioned the case of FTP STOR failing. Reported-by: Emanuele Torre Ref: https://github.com/curl/curl/blob/curl-8_4_0/docs/libcurl/libcurl-errors.3#L113-L115 Fixes https://github.com/curl/curl/issues/12189 Closes https://github.com/curl/curl/pull/12190 --- docs/cmdline-opts/page-footer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cmdline-opts/page-footer b/docs/cmdline-opts/page-footer index beae49ac12..af41c94824 100644 --- a/docs/cmdline-opts/page-footer +++ b/docs/cmdline-opts/page-footer @@ -173,8 +173,8 @@ appears if --fail is used. .IP 23 Write error. Curl could not write data to a local filesystem or similar. .IP 25 -FTP could not STOR file. The server denied the STOR operation, used for FTP -uploading. +Failed starting the upload. For FTP, the server typically denied the STOR +command. .IP 26 Read error. Various reading problems. .IP 27 -- 2.47.3