]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
page-footer: clarify exit code 25
authorJay Satiro <raysatiro@yahoo.com>
Tue, 24 Oct 2023 06:01:12 +0000 (02:01 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 24 Oct 2023 07:51:28 +0000 (03:51 -0400)
- 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

index beae49ac122adaf2e15f170944d32afcd35e8f5f..af41c94824abbf510b76c79b222e0f90d70fa296 100644 (file)
@@ -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