Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/.gitignore +5 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/CMakeLists.txt +42 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/MANPAGE.md +118 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/Makefile.am +63 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/Makefile.inc +313 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_AUTHORS.md +5 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_BUGS.md +5 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_DESCRIPTION.md +11 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_ENVIRONMENT.md +114 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_EXITCODES.md +203 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_FILES.md +6 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_GLOBBING.md +40 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_NAME.md +4 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_OPTIONS.md +29 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_OUTPUT.md +11 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_PROGRESS.md +25 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_PROTOCOLS.md +53 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_PROXYPREFIX.md +22 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_SEEALSO.md +5 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_SYNOPSIS.md +5 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_URL.md +28 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_VARIABLES.md +44 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_VERSION.md +15 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_WWW.md +4 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/abstract-unix-socket.md +21 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/alt-svc.md +28 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/anyauth.md +30 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/append.md +23 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/aws-sigv4.md +30 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/basic.md +23 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/ca-native.md +29 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cacert.md +46 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/capath.md +29 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cert-status.md +25 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cert-type.md +26 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cert.md +60 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/ciphers.md +25 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/compressed-ssh.md +19 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/compressed.md +27 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/config.md +84 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/connect-timeout.md +28 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/connect-to.md +40 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/continue-at.md +32 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cookie-jar.md +39 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cookie.md +62 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/create-dirs.md +26 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/create-file-mode.md +23 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/crlf.md +19 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/crlfile.md +21 -0
- local-test-curl-delta-01/afc-curl/docs/cmdline-opts/curves.md +28 -0
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/.gitignore
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 2 |
+
#
|
| 3 |
+
# SPDX-License-Identifier: curl
|
| 4 |
+
|
| 5 |
+
curl.txt
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/CMakeLists.txt
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#***************************************************************************
|
| 2 |
+
# _ _ ____ _
|
| 3 |
+
# Project ___| | | | _ \| |
|
| 4 |
+
# / __| | | | |_) | |
|
| 5 |
+
# | (__| |_| | _ <| |___
|
| 6 |
+
# \___|\___/|_| \_\_____|
|
| 7 |
+
#
|
| 8 |
+
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 9 |
+
#
|
| 10 |
+
# This software is licensed as described in the file COPYING, which
|
| 11 |
+
# you should have received as part of this distribution. The terms
|
| 12 |
+
# are also available at https://curl.se/docs/copyright.html.
|
| 13 |
+
#
|
| 14 |
+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
| 15 |
+
# copies of the Software, and permit persons to whom the Software is
|
| 16 |
+
# furnished to do so, under the terms of the COPYING file.
|
| 17 |
+
#
|
| 18 |
+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
| 19 |
+
# KIND, either express or implied.
|
| 20 |
+
#
|
| 21 |
+
# SPDX-License-Identifier: curl
|
| 22 |
+
#
|
| 23 |
+
###########################################################################
|
| 24 |
+
# Get 'DPAGES' variable
|
| 25 |
+
transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
| 26 |
+
include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
| 27 |
+
|
| 28 |
+
add_custom_command(OUTPUT "${CURL_MANPAGE}" "${CURL_ASCIIPAGE}"
|
| 29 |
+
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
| 30 |
+
COMMAND "${PERL_EXECUTABLE}" "${PROJECT_SOURCE_DIR}/scripts/managen" mainpage ${DPAGES} > "${CURL_MANPAGE}"
|
| 31 |
+
COMMAND "${PERL_EXECUTABLE}" "${PROJECT_SOURCE_DIR}/scripts/managen" ascii ${DPAGES} > "${CURL_ASCIIPAGE}"
|
| 32 |
+
DEPENDS
|
| 33 |
+
"${PROJECT_SOURCE_DIR}/scripts/managen"
|
| 34 |
+
${DPAGES}
|
| 35 |
+
VERBATIM
|
| 36 |
+
)
|
| 37 |
+
|
| 38 |
+
add_custom_target(generate-curl.1 ALL DEPENDS "${CURL_MANPAGE}")
|
| 39 |
+
|
| 40 |
+
if(NOT CURL_DISABLE_INSTALL)
|
| 41 |
+
install(FILES "${CURL_MANPAGE}" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")
|
| 42 |
+
endif()
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/MANPAGE.md
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!--
|
| 2 |
+
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
|
| 4 |
+
SPDX-License-Identifier: curl
|
| 5 |
+
-->
|
| 6 |
+
|
| 7 |
+
# curl man page generator
|
| 8 |
+
|
| 9 |
+
`managen` is the curl man page generator. It generates a single nroff man page
|
| 10 |
+
output from the set of sources files in this directory.
|
| 11 |
+
|
| 12 |
+
The `mainpage.idx` file lists all files that are rendered in that order to
|
| 13 |
+
produce the output. The magic `%options` keyword inserts all command line
|
| 14 |
+
options documented.
|
| 15 |
+
|
| 16 |
+
The `%options` documentation is created with one source file for each
|
| 17 |
+
supported command line option.
|
| 18 |
+
|
| 19 |
+
The documentation file format is described below. It is meant to look similar
|
| 20 |
+
to markdown which is why it uses `.md` file extensions.
|
| 21 |
+
|
| 22 |
+
## Option files
|
| 23 |
+
|
| 24 |
+
Each command line option is described in a file named `<long name>.d`, where
|
| 25 |
+
option name is written without any prefixing dashes. Like the filename for the
|
| 26 |
+
`-v, --verbose` option is named `verbose.d`.
|
| 27 |
+
|
| 28 |
+
Each file has a set of meta-data in the top of the file, followed by a body of
|
| 29 |
+
text.
|
| 30 |
+
|
| 31 |
+
The documentation files that do not document options have no meta-data part.
|
| 32 |
+
|
| 33 |
+
A line that starts with `<!--` is a comment. It should also end with `-->`.
|
| 34 |
+
|
| 35 |
+
### Meta-data
|
| 36 |
+
|
| 37 |
+
--- (start of meta-data)
|
| 38 |
+
Added: (version number in which this was added)
|
| 39 |
+
Arg: (the argument the option takes)
|
| 40 |
+
c: (copyright line)
|
| 41 |
+
Example:
|
| 42 |
+
- (an example command line, without "curl" and can use `$URL`)
|
| 43 |
+
- (another example)
|
| 44 |
+
Experimental: yes (if so)
|
| 45 |
+
Help: (short text for the --help output for this option)
|
| 46 |
+
Long: (long form name, without dashes)
|
| 47 |
+
Magic: (description of "magic" options)
|
| 48 |
+
Multi: single/append/boolean/mutex/custom/per-URL (if used more than once)
|
| 49 |
+
Mutexed: (space separated list of options this overrides, no dashes)
|
| 50 |
+
Protocols: (space separated list for which protocols this option works)
|
| 51 |
+
Requires: (space separated list of features this requires, no dashes)
|
| 52 |
+
Scope: global (if the option is global)
|
| 53 |
+
See-also:
|
| 54 |
+
- (a related option, no dashes)
|
| 55 |
+
- (another related option, no dashes)
|
| 56 |
+
Short: (single letter, without dash)
|
| 57 |
+
SPDX-License-Identifier: curl
|
| 58 |
+
Tags: (space separated list)
|
| 59 |
+
--- (end of meta-data)
|
| 60 |
+
|
| 61 |
+
### Body
|
| 62 |
+
|
| 63 |
+
The body of the description. Only refer to options with their long form option
|
| 64 |
+
version, like `--verbose`. The output generator replaces such option with the
|
| 65 |
+
correct markup that shows both short and long version.
|
| 66 |
+
|
| 67 |
+
Text written within `*asterisks*` is shown using italics. Text within two
|
| 68 |
+
`**asterisks**` is shown using bold.
|
| 69 |
+
|
| 70 |
+
Text that is prefixed with a space is treated like an "example" and gets
|
| 71 |
+
output in monospace.
|
| 72 |
+
|
| 73 |
+
Within the body, describe a list of items like this:
|
| 74 |
+
|
| 75 |
+
## item 1
|
| 76 |
+
description
|
| 77 |
+
|
| 78 |
+
## item 2
|
| 79 |
+
second description
|
| 80 |
+
|
| 81 |
+
The list is automatically terminated at end of file, or you can do it
|
| 82 |
+
explicitly with an empty "header":
|
| 83 |
+
|
| 84 |
+
##
|
| 85 |
+
|
| 86 |
+
Angle brackets (`<>`) need to be escaped when used in text like `\<` and
|
| 87 |
+
`\>`. This, to ensure that the text renders nicely as markdown.
|
| 88 |
+
|
| 89 |
+
### Headers
|
| 90 |
+
|
| 91 |
+
The `#` header can be used by non-option files and it produces a
|
| 92 |
+
`.SH` output.
|
| 93 |
+
|
| 94 |
+
If the `#` header is used for a command line option file, that header is
|
| 95 |
+
simply ignored in the generated output. It can still serve a purpose in the
|
| 96 |
+
source file as it helps the user identify what option the file is for.
|
| 97 |
+
|
| 98 |
+
### Variables
|
| 99 |
+
|
| 100 |
+
There are three different "variables" that can be used when creating the
|
| 101 |
+
output. They need to be written within backticks in the source file (to escape
|
| 102 |
+
getting spellchecked by CI jobs): `%DATE`, `%VERSION` and `%GLOBALS`.
|
| 103 |
+
|
| 104 |
+
## Generate
|
| 105 |
+
|
| 106 |
+
`managen mainpage [list of markdown option file names]`
|
| 107 |
+
|
| 108 |
+
This command outputs a single huge nroff file, meant to become `curl.1`. The
|
| 109 |
+
full curl man page.
|
| 110 |
+
|
| 111 |
+
`managen ascii [list of markdown option file names]`
|
| 112 |
+
|
| 113 |
+
This command outputs a single text file, meant to become `curl.txt`. The full
|
| 114 |
+
curl man page in text format, used to build `tool_hugehelp.c`.
|
| 115 |
+
|
| 116 |
+
`managen listhelp`
|
| 117 |
+
|
| 118 |
+
Generates a full `curl --help` output for all known command line options.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/Makefile.am
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#***************************************************************************
|
| 2 |
+
# _ _ ____ _
|
| 3 |
+
# Project ___| | | | _ \| |
|
| 4 |
+
# / __| | | | |_) | |
|
| 5 |
+
# | (__| |_| | _ <| |___
|
| 6 |
+
# \___|\___/|_| \_\_____|
|
| 7 |
+
#
|
| 8 |
+
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 9 |
+
#
|
| 10 |
+
# This software is licensed as described in the file COPYING, which
|
| 11 |
+
# you should have received as part of this distribution. The terms
|
| 12 |
+
# are also available at https://curl.se/docs/copyright.html.
|
| 13 |
+
#
|
| 14 |
+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
| 15 |
+
# copies of the Software, and permit persons to whom the Software is
|
| 16 |
+
# furnished to do so, under the terms of the COPYING file.
|
| 17 |
+
#
|
| 18 |
+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
| 19 |
+
# KIND, either express or implied.
|
| 20 |
+
#
|
| 21 |
+
# SPDX-License-Identifier: curl
|
| 22 |
+
#
|
| 23 |
+
###########################################################################
|
| 24 |
+
|
| 25 |
+
AUTOMAKE_OPTIONS = foreign no-dependencies
|
| 26 |
+
|
| 27 |
+
MANPAGE = curl.1
|
| 28 |
+
ASCIIPAGE = curl.txt
|
| 29 |
+
|
| 30 |
+
include Makefile.inc
|
| 31 |
+
|
| 32 |
+
EXTRA_DIST = $(DPAGES) MANPAGE.md $(SUPPORT) CMakeLists.txt mainpage.idx
|
| 33 |
+
|
| 34 |
+
GEN = $(GN_$(V))
|
| 35 |
+
GN_0 = @echo " GENERATE" $@;
|
| 36 |
+
GN_1 =
|
| 37 |
+
GN_ = $(GN_0)
|
| 38 |
+
|
| 39 |
+
MANAGEN=$(top_srcdir)/scripts/managen
|
| 40 |
+
MAXLINE=$(top_srcdir)/scripts/maxline
|
| 41 |
+
|
| 42 |
+
# Maximum number of columns accepted in the ASCII version of the manpage
|
| 43 |
+
INCDIR=$(top_srcdir)/include
|
| 44 |
+
|
| 45 |
+
if BUILD_DOCS
|
| 46 |
+
CLEANFILES = $(MANPAGE) $(ASCIIPAGE)
|
| 47 |
+
man_MANS = $(MANPAGE)
|
| 48 |
+
|
| 49 |
+
all: $(MANPAGE) $(ASCIIPAGE)
|
| 50 |
+
|
| 51 |
+
endif
|
| 52 |
+
|
| 53 |
+
$(MANPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN)
|
| 54 |
+
$(GEN)(rm -f $(MANPAGE) && @PERL@ $(MANAGEN) -d $(srcdir) -I $(INCDIR) mainpage $(DPAGES) > manpage.tmp.$$$$ && mv manpage.tmp.$$$$ $(MANPAGE))
|
| 55 |
+
|
| 56 |
+
$(ASCIIPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN)
|
| 57 |
+
$(GEN)(rm -f $(ASCIIPAGE) && @PERL@ $(MANAGEN) -d $(srcdir) -I $(INCDIR) ascii $(DPAGES) > asciipage.tmp.$$$$ && mv asciipage.tmp.$$$$ $(ASCIIPAGE))
|
| 58 |
+
|
| 59 |
+
listhelp:
|
| 60 |
+
$(MANAGEN) -d $(srcdir) listhelp $(DPAGES) > $(top_builddir)/src/tool_listhelp.c
|
| 61 |
+
|
| 62 |
+
listcats:
|
| 63 |
+
@$(MANAGEN) listcats $(DPAGES)
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/Makefile.inc
ADDED
|
@@ -0,0 +1,313 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#***************************************************************************
|
| 2 |
+
# _ _ ____ _
|
| 3 |
+
# Project ___| | | | _ \| |
|
| 4 |
+
# / __| | | | |_) | |
|
| 5 |
+
# | (__| |_| | _ <| |___
|
| 6 |
+
# \___|\___/|_| \_\_____|
|
| 7 |
+
#
|
| 8 |
+
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 9 |
+
#
|
| 10 |
+
# This software is licensed as described in the file COPYING, which
|
| 11 |
+
# you should have received as part of this distribution. The terms
|
| 12 |
+
# are also available at https://curl.se/docs/copyright.html.
|
| 13 |
+
#
|
| 14 |
+
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
| 15 |
+
# copies of the Software, and permit persons to whom the Software is
|
| 16 |
+
# furnished to do so, under the terms of the COPYING file.
|
| 17 |
+
#
|
| 18 |
+
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
| 19 |
+
# KIND, either express or implied.
|
| 20 |
+
#
|
| 21 |
+
# SPDX-License-Identifier: curl
|
| 22 |
+
#
|
| 23 |
+
###########################################################################
|
| 24 |
+
# Shared between Makefile.am and CMakeLists.txt
|
| 25 |
+
|
| 26 |
+
SUPPORT = \
|
| 27 |
+
_AUTHORS.md \
|
| 28 |
+
_BUGS.md \
|
| 29 |
+
_DESCRIPTION.md \
|
| 30 |
+
_ENVIRONMENT.md \
|
| 31 |
+
_EXITCODES.md \
|
| 32 |
+
_FILES.md \
|
| 33 |
+
_GLOBBING.md \
|
| 34 |
+
_NAME.md \
|
| 35 |
+
_OPTIONS.md \
|
| 36 |
+
_OUTPUT.md \
|
| 37 |
+
_PROGRESS.md \
|
| 38 |
+
_PROTOCOLS.md \
|
| 39 |
+
_PROXYPREFIX.md \
|
| 40 |
+
_SEEALSO.md \
|
| 41 |
+
_SYNOPSIS.md \
|
| 42 |
+
_URL.md \
|
| 43 |
+
_VARIABLES.md \
|
| 44 |
+
_VERSION.md \
|
| 45 |
+
_WWW.md
|
| 46 |
+
|
| 47 |
+
DPAGES = \
|
| 48 |
+
abstract-unix-socket.md \
|
| 49 |
+
alt-svc.md \
|
| 50 |
+
anyauth.md \
|
| 51 |
+
append.md \
|
| 52 |
+
aws-sigv4.md \
|
| 53 |
+
basic.md \
|
| 54 |
+
ca-native.md \
|
| 55 |
+
cacert.md \
|
| 56 |
+
capath.md \
|
| 57 |
+
cert-status.md \
|
| 58 |
+
cert-type.md \
|
| 59 |
+
cert.md \
|
| 60 |
+
ciphers.md \
|
| 61 |
+
compressed-ssh.md \
|
| 62 |
+
compressed.md \
|
| 63 |
+
config.md \
|
| 64 |
+
connect-timeout.md \
|
| 65 |
+
connect-to.md \
|
| 66 |
+
continue-at.md \
|
| 67 |
+
cookie-jar.md \
|
| 68 |
+
cookie.md \
|
| 69 |
+
create-dirs.md \
|
| 70 |
+
create-file-mode.md \
|
| 71 |
+
crlf.md \
|
| 72 |
+
crlfile.md \
|
| 73 |
+
curves.md \
|
| 74 |
+
data-ascii.md \
|
| 75 |
+
data-binary.md \
|
| 76 |
+
data-raw.md \
|
| 77 |
+
data-urlencode.md \
|
| 78 |
+
data.md \
|
| 79 |
+
delegation.md \
|
| 80 |
+
digest.md \
|
| 81 |
+
disable-eprt.md \
|
| 82 |
+
disable-epsv.md \
|
| 83 |
+
disable.md \
|
| 84 |
+
disallow-username-in-url.md \
|
| 85 |
+
dns-interface.md \
|
| 86 |
+
dns-ipv4-addr.md \
|
| 87 |
+
dns-ipv6-addr.md \
|
| 88 |
+
dns-servers.md \
|
| 89 |
+
doh-cert-status.md \
|
| 90 |
+
doh-insecure.md \
|
| 91 |
+
doh-url.md \
|
| 92 |
+
dump-ca-embed.md \
|
| 93 |
+
dump-header.md \
|
| 94 |
+
ech.md \
|
| 95 |
+
egd-file.md \
|
| 96 |
+
engine.md \
|
| 97 |
+
etag-compare.md \
|
| 98 |
+
etag-save.md \
|
| 99 |
+
expect100-timeout.md \
|
| 100 |
+
fail-early.md \
|
| 101 |
+
fail-with-body.md \
|
| 102 |
+
fail.md \
|
| 103 |
+
false-start.md \
|
| 104 |
+
form-escape.md \
|
| 105 |
+
form-string.md \
|
| 106 |
+
form.md \
|
| 107 |
+
ftp-account.md \
|
| 108 |
+
ftp-alternative-to-user.md \
|
| 109 |
+
ftp-create-dirs.md \
|
| 110 |
+
ftp-method.md \
|
| 111 |
+
ftp-pasv.md \
|
| 112 |
+
ftp-port.md \
|
| 113 |
+
ftp-pret.md \
|
| 114 |
+
ftp-skip-pasv-ip.md \
|
| 115 |
+
ftp-ssl-ccc-mode.md \
|
| 116 |
+
ftp-ssl-ccc.md \
|
| 117 |
+
ftp-ssl-control.md \
|
| 118 |
+
get.md \
|
| 119 |
+
globoff.md \
|
| 120 |
+
happy-eyeballs-timeout-ms.md \
|
| 121 |
+
haproxy-protocol.md \
|
| 122 |
+
haproxy-clientip.md \
|
| 123 |
+
head.md \
|
| 124 |
+
header.md \
|
| 125 |
+
help.md \
|
| 126 |
+
hostpubmd5.md \
|
| 127 |
+
hostpubsha256.md \
|
| 128 |
+
hsts.md \
|
| 129 |
+
http0.9.md \
|
| 130 |
+
http1.0.md \
|
| 131 |
+
http1.1.md \
|
| 132 |
+
http2-prior-knowledge.md \
|
| 133 |
+
http2.md \
|
| 134 |
+
http3.md \
|
| 135 |
+
http3-only.md \
|
| 136 |
+
ignore-content-length.md \
|
| 137 |
+
insecure.md \
|
| 138 |
+
interface.md \
|
| 139 |
+
ip-tos.md \
|
| 140 |
+
ipfs-gateway.md \
|
| 141 |
+
ipv4.md \
|
| 142 |
+
ipv6.md \
|
| 143 |
+
json.md \
|
| 144 |
+
junk-session-cookies.md \
|
| 145 |
+
keepalive-cnt.md \
|
| 146 |
+
keepalive-time.md \
|
| 147 |
+
key-type.md \
|
| 148 |
+
key.md \
|
| 149 |
+
krb.md \
|
| 150 |
+
libcurl.md \
|
| 151 |
+
limit-rate.md \
|
| 152 |
+
list-only.md \
|
| 153 |
+
local-port.md \
|
| 154 |
+
location-trusted.md \
|
| 155 |
+
location.md \
|
| 156 |
+
login-options.md \
|
| 157 |
+
mail-auth.md \
|
| 158 |
+
mail-from.md \
|
| 159 |
+
mail-rcpt-allowfails.md \
|
| 160 |
+
mail-rcpt.md \
|
| 161 |
+
manual.md \
|
| 162 |
+
max-filesize.md \
|
| 163 |
+
max-redirs.md \
|
| 164 |
+
max-time.md \
|
| 165 |
+
metalink.md \
|
| 166 |
+
mptcp.md \
|
| 167 |
+
negotiate.md \
|
| 168 |
+
netrc-file.md \
|
| 169 |
+
netrc-optional.md \
|
| 170 |
+
netrc.md \
|
| 171 |
+
next.md \
|
| 172 |
+
no-alpn.md \
|
| 173 |
+
no-buffer.md \
|
| 174 |
+
no-clobber.md \
|
| 175 |
+
no-keepalive.md \
|
| 176 |
+
no-npn.md \
|
| 177 |
+
no-progress-meter.md \
|
| 178 |
+
no-sessionid.md \
|
| 179 |
+
noproxy.md \
|
| 180 |
+
ntlm-wb.md \
|
| 181 |
+
ntlm.md \
|
| 182 |
+
oauth2-bearer.md \
|
| 183 |
+
output-dir.md \
|
| 184 |
+
output.md \
|
| 185 |
+
parallel-immediate.md \
|
| 186 |
+
parallel-max.md \
|
| 187 |
+
parallel.md \
|
| 188 |
+
pass.md \
|
| 189 |
+
path-as-is.md \
|
| 190 |
+
pinnedpubkey.md \
|
| 191 |
+
post301.md \
|
| 192 |
+
post302.md \
|
| 193 |
+
post303.md \
|
| 194 |
+
preproxy.md \
|
| 195 |
+
progress-bar.md \
|
| 196 |
+
proto-default.md \
|
| 197 |
+
proto-redir.md \
|
| 198 |
+
proto.md \
|
| 199 |
+
proxy-anyauth.md \
|
| 200 |
+
proxy-basic.md \
|
| 201 |
+
proxy-ca-native.md \
|
| 202 |
+
proxy-cacert.md \
|
| 203 |
+
proxy-capath.md \
|
| 204 |
+
proxy-cert-type.md \
|
| 205 |
+
proxy-cert.md \
|
| 206 |
+
proxy-ciphers.md \
|
| 207 |
+
proxy-crlfile.md \
|
| 208 |
+
proxy-digest.md \
|
| 209 |
+
proxy-header.md \
|
| 210 |
+
proxy-http2.md \
|
| 211 |
+
proxy-insecure.md \
|
| 212 |
+
proxy-key-type.md \
|
| 213 |
+
proxy-key.md \
|
| 214 |
+
proxy-negotiate.md \
|
| 215 |
+
proxy-ntlm.md \
|
| 216 |
+
proxy-pass.md \
|
| 217 |
+
proxy-pinnedpubkey.md \
|
| 218 |
+
proxy-service-name.md \
|
| 219 |
+
proxy-ssl-allow-beast.md \
|
| 220 |
+
proxy-ssl-auto-client-cert.md \
|
| 221 |
+
proxy-tls13-ciphers.md \
|
| 222 |
+
proxy-tlsauthtype.md \
|
| 223 |
+
proxy-tlspassword.md \
|
| 224 |
+
proxy-tlsuser.md \
|
| 225 |
+
proxy-tlsv1.md \
|
| 226 |
+
proxy-user.md \
|
| 227 |
+
proxy.md \
|
| 228 |
+
proxy1.0.md \
|
| 229 |
+
proxytunnel.md \
|
| 230 |
+
pubkey.md \
|
| 231 |
+
quote.md \
|
| 232 |
+
random-file.md \
|
| 233 |
+
range.md \
|
| 234 |
+
rate.md \
|
| 235 |
+
raw.md \
|
| 236 |
+
referer.md \
|
| 237 |
+
remote-header-name.md \
|
| 238 |
+
remote-name-all.md \
|
| 239 |
+
remote-name.md \
|
| 240 |
+
remote-time.md \
|
| 241 |
+
remove-on-error.md \
|
| 242 |
+
request-target.md \
|
| 243 |
+
request.md \
|
| 244 |
+
resolve.md \
|
| 245 |
+
retry-all-errors.md \
|
| 246 |
+
retry-connrefused.md \
|
| 247 |
+
retry-delay.md \
|
| 248 |
+
retry-max-time.md \
|
| 249 |
+
retry.md \
|
| 250 |
+
sasl-authzid.md \
|
| 251 |
+
sasl-ir.md \
|
| 252 |
+
service-name.md \
|
| 253 |
+
show-error.md \
|
| 254 |
+
show-headers.md \
|
| 255 |
+
silent.md \
|
| 256 |
+
skip-existing.md \
|
| 257 |
+
socks4.md \
|
| 258 |
+
socks4a.md \
|
| 259 |
+
socks5-basic.md \
|
| 260 |
+
socks5-gssapi-nec.md \
|
| 261 |
+
socks5-gssapi-service.md \
|
| 262 |
+
socks5-gssapi.md \
|
| 263 |
+
socks5-hostname.md \
|
| 264 |
+
socks5.md \
|
| 265 |
+
speed-limit.md \
|
| 266 |
+
speed-time.md \
|
| 267 |
+
ssl-allow-beast.md \
|
| 268 |
+
ssl-auto-client-cert.md \
|
| 269 |
+
ssl-no-revoke.md \
|
| 270 |
+
ssl-reqd.md \
|
| 271 |
+
ssl-revoke-best-effort.md \
|
| 272 |
+
ssl.md \
|
| 273 |
+
sslv2.md \
|
| 274 |
+
sslv3.md \
|
| 275 |
+
stderr.md \
|
| 276 |
+
styled-output.md \
|
| 277 |
+
suppress-connect-headers.md \
|
| 278 |
+
tcp-fastopen.md \
|
| 279 |
+
tcp-nodelay.md \
|
| 280 |
+
telnet-option.md \
|
| 281 |
+
tftp-blksize.md \
|
| 282 |
+
tftp-no-options.md \
|
| 283 |
+
time-cond.md \
|
| 284 |
+
tls-earlydata.md \
|
| 285 |
+
tls-max.md \
|
| 286 |
+
tls13-ciphers.md \
|
| 287 |
+
tlsauthtype.md \
|
| 288 |
+
tlspassword.md \
|
| 289 |
+
tlsuser.md \
|
| 290 |
+
tlsv1.0.md \
|
| 291 |
+
tlsv1.1.md \
|
| 292 |
+
tlsv1.2.md \
|
| 293 |
+
tlsv1.3.md \
|
| 294 |
+
tlsv1.md \
|
| 295 |
+
tr-encoding.md \
|
| 296 |
+
trace-ascii.md \
|
| 297 |
+
trace-config.md \
|
| 298 |
+
trace-ids.md \
|
| 299 |
+
trace-time.md \
|
| 300 |
+
trace.md \
|
| 301 |
+
unix-socket.md \
|
| 302 |
+
upload-file.md \
|
| 303 |
+
url.md \
|
| 304 |
+
url-query.md \
|
| 305 |
+
use-ascii.md \
|
| 306 |
+
user-agent.md \
|
| 307 |
+
user.md \
|
| 308 |
+
variable.md \
|
| 309 |
+
verbose.md \
|
| 310 |
+
version.md \
|
| 311 |
+
vlan-priority.md \
|
| 312 |
+
write-out.md \
|
| 313 |
+
xattr.md
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_AUTHORS.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# AUTHORS
|
| 4 |
+
Daniel Stenberg is the main author, but the whole list of contributors is
|
| 5 |
+
found in the separate THANKS file.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_BUGS.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# BUGS
|
| 4 |
+
If you experience any problems with curl, submit an issue in the project's bug
|
| 5 |
+
tracker on GitHub: https://github.com/curl/curl/issues
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_DESCRIPTION.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# DESCRIPTION
|
| 4 |
+
|
| 5 |
+
**curl** is a tool for transferring data from or to a server using URLs. It
|
| 6 |
+
supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS,
|
| 7 |
+
IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP,
|
| 8 |
+
SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS.
|
| 9 |
+
|
| 10 |
+
curl is powered by libcurl for all transfer-related features. See
|
| 11 |
+
*libcurl(3)* for details.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_ENVIRONMENT.md
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# ENVIRONMENT
|
| 4 |
+
The environment variables can be specified in lower case or upper case. The
|
| 5 |
+
lower case version has precedence. `http_proxy` is an exception as it is only
|
| 6 |
+
available in lower case.
|
| 7 |
+
|
| 8 |
+
Using an environment variable to set the proxy has the same effect as using
|
| 9 |
+
the --proxy option.
|
| 10 |
+
|
| 11 |
+
## `http_proxy` [protocol://]<host>[:port]
|
| 12 |
+
Sets the proxy server to use for HTTP.
|
| 13 |
+
|
| 14 |
+
## `HTTPS_PROXY` [protocol://]<host>[:port]
|
| 15 |
+
Sets the proxy server to use for HTTPS.
|
| 16 |
+
|
| 17 |
+
## `[url-protocol]_PROXY` [protocol://]<host>[:port]
|
| 18 |
+
Sets the proxy server to use for [url-protocol], where the protocol is a
|
| 19 |
+
protocol that curl supports and as specified in a URL. FTP, FTPS, POP3, IMAP,
|
| 20 |
+
SMTP, LDAP, etc.
|
| 21 |
+
|
| 22 |
+
## `ALL_PROXY` [protocol://]<host>[:port]
|
| 23 |
+
Sets the proxy server to use if no protocol-specific proxy is set.
|
| 24 |
+
|
| 25 |
+
## `NO_PROXY` <comma-separated list of hosts/domains>
|
| 26 |
+
list of hostnames that should not go through any proxy. If set to an asterisk
|
| 27 |
+
'*' only, it matches all hosts. Each name in this list is matched as either a
|
| 28 |
+
domain name which contains the hostname, or the hostname itself.
|
| 29 |
+
|
| 30 |
+
This environment variable disables use of the proxy even when specified with
|
| 31 |
+
the --proxy option. That is
|
| 32 |
+
|
| 33 |
+
NO_PROXY=direct.example.com curl -x http://proxy.example.com
|
| 34 |
+
http://direct.example.com
|
| 35 |
+
|
| 36 |
+
accesses the target URL directly, and
|
| 37 |
+
|
| 38 |
+
NO_PROXY=direct.example.com curl -x http://proxy.example.com
|
| 39 |
+
http://somewhere.example.com
|
| 40 |
+
|
| 41 |
+
accesses the target URL through the proxy.
|
| 42 |
+
|
| 43 |
+
The list of hostnames can also be include numerical IP addresses, and IPv6
|
| 44 |
+
versions should then be given without enclosing brackets.
|
| 45 |
+
|
| 46 |
+
IP addresses can be specified using CIDR notation: an appended slash and
|
| 47 |
+
number specifies the number of "network bits" out of the address to use in the
|
| 48 |
+
comparison (added in 7.86.0). For example "192.168.0.0/16" would match all
|
| 49 |
+
addresses starting with "192.168".
|
| 50 |
+
|
| 51 |
+
## `APPDATA` <dir>
|
| 52 |
+
On Windows, this variable is used when trying to find the home directory. If
|
| 53 |
+
the primary home variable are all unset.
|
| 54 |
+
|
| 55 |
+
## `COLUMNS` <terminal width>
|
| 56 |
+
If set, the specified number of characters is used as the terminal width when
|
| 57 |
+
the alternative progress-bar is shown. If not set, curl tries to figure it out
|
| 58 |
+
using other ways.
|
| 59 |
+
|
| 60 |
+
## `CURL_CA_BUNDLE` <file>
|
| 61 |
+
If set, it is used as the --cacert value. This environment variable is ignored
|
| 62 |
+
if Schannel is used as the TLS backend.
|
| 63 |
+
|
| 64 |
+
## `CURL_HOME` <dir>
|
| 65 |
+
If set, is the first variable curl checks when trying to find its home
|
| 66 |
+
directory. If not set, it continues to check *XDG_CONFIG_HOME*
|
| 67 |
+
|
| 68 |
+
## `CURL_SSL_BACKEND` <TLS backend>
|
| 69 |
+
If curl was built with support for "MultiSSL", meaning that it has built-in
|
| 70 |
+
support for more than one TLS backend, this environment variable can be set to
|
| 71 |
+
the case insensitive name of the particular backend to use when curl is
|
| 72 |
+
invoked. Setting a name that is not a built-in alternative makes curl stay
|
| 73 |
+
with the default.
|
| 74 |
+
|
| 75 |
+
SSL backend names (case-insensitive): **bearssl**, **gnutls**, **mbedtls**,
|
| 76 |
+
**openssl**, **rustls**, **schannel**, **secure-transport**, **wolfssl**
|
| 77 |
+
|
| 78 |
+
## `HOME` <dir>
|
| 79 |
+
If set, this is used to find the home directory when that is needed. Like when
|
| 80 |
+
looking for the default .curlrc. *CURL_HOME* and *XDG_CONFIG_HOME*
|
| 81 |
+
have preference.
|
| 82 |
+
|
| 83 |
+
## `QLOGDIR` <directory name>
|
| 84 |
+
If curl was built with HTTP/3 support, setting this environment variable to a
|
| 85 |
+
local directory makes curl produce **qlogs** in that directory, using file
|
| 86 |
+
names named after the destination connection id (in hex). Do note that these
|
| 87 |
+
files can become rather large. Works with the ngtcp2 and quiche QUIC backends.
|
| 88 |
+
|
| 89 |
+
## `SHELL`
|
| 90 |
+
Used on VMS when trying to detect if using a **DCL** or a **Unix** shell.
|
| 91 |
+
|
| 92 |
+
## `SSL_CERT_DIR` <dir>
|
| 93 |
+
If set, it is used as the --capath value. This environment variable is ignored
|
| 94 |
+
if Schannel is used as the TLS backend.
|
| 95 |
+
|
| 96 |
+
## `SSL_CERT_FILE` <path>
|
| 97 |
+
If set, it is used as the --cacert value. This environment variable is ignored
|
| 98 |
+
if Schannel is used as the TLS backend.
|
| 99 |
+
|
| 100 |
+
## `SSLKEYLOGFILE` <filename>
|
| 101 |
+
If you set this environment variable to a filename, curl stores TLS secrets
|
| 102 |
+
from its connections in that file when invoked to enable you to analyze the
|
| 103 |
+
TLS traffic in real time using network analyzing tools such as Wireshark. This
|
| 104 |
+
works with the following TLS backends: OpenSSL, LibreSSL (TLS 1.2 max),
|
| 105 |
+
BoringSSL, GnuTLS and wolfSSL.
|
| 106 |
+
|
| 107 |
+
## `USERPROFILE` <dir>
|
| 108 |
+
On Windows, this variable is used when trying to find the home directory. If
|
| 109 |
+
the other, primary, variable are all unset. If set, curl uses the path
|
| 110 |
+
**"$USERPROFILE\Application Data"**.
|
| 111 |
+
|
| 112 |
+
## `XDG_CONFIG_HOME` <dir>
|
| 113 |
+
If *CURL_HOME* is not set, this variable is checked when looking for a
|
| 114 |
+
default .curlrc file.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_EXITCODES.md
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# EXIT CODES
|
| 4 |
+
There are a bunch of different error codes and their corresponding error
|
| 5 |
+
messages that may appear under error conditions. At the time of this writing,
|
| 6 |
+
the exit codes are:
|
| 7 |
+
## 0
|
| 8 |
+
Success. The operation completed successfully according to the instructions.
|
| 9 |
+
## 1
|
| 10 |
+
Unsupported protocol. This build of curl has no support for this protocol.
|
| 11 |
+
## 2
|
| 12 |
+
Failed to initialize.
|
| 13 |
+
## 3
|
| 14 |
+
URL malformed. The syntax was not correct.
|
| 15 |
+
## 4
|
| 16 |
+
A feature or option that was needed to perform the desired request was not
|
| 17 |
+
enabled or was explicitly disabled at build-time. To make curl able to do
|
| 18 |
+
this, you probably need another build of libcurl.
|
| 19 |
+
## 5
|
| 20 |
+
Could not resolve proxy. The given proxy host could not be resolved.
|
| 21 |
+
## 6
|
| 22 |
+
Could not resolve host. The given remote host could not be resolved.
|
| 23 |
+
## 7
|
| 24 |
+
Failed to connect to host.
|
| 25 |
+
## 8
|
| 26 |
+
Weird server reply. The server sent data curl could not parse.
|
| 27 |
+
## 9
|
| 28 |
+
FTP access denied. The server denied login or denied access to the particular
|
| 29 |
+
resource or directory you wanted to reach. Most often you tried to change to a
|
| 30 |
+
directory that does not exist on the server.
|
| 31 |
+
## 10
|
| 32 |
+
FTP accept failed. While waiting for the server to connect back when an active
|
| 33 |
+
FTP session is used, an error code was sent over the control connection or
|
| 34 |
+
similar.
|
| 35 |
+
## 11
|
| 36 |
+
FTP weird PASS reply. Curl could not parse the reply sent to the PASS request.
|
| 37 |
+
## 12
|
| 38 |
+
During an active FTP session while waiting for the server to connect back to
|
| 39 |
+
curl, the timeout expired.
|
| 40 |
+
## 13
|
| 41 |
+
FTP weird PASV reply, Curl could not parse the reply sent to the PASV request.
|
| 42 |
+
## 14
|
| 43 |
+
FTP weird 227 format. Curl could not parse the 227-line the server sent.
|
| 44 |
+
## 15
|
| 45 |
+
FTP cannot use host. Could not resolve the host IP we got in the 227-line.
|
| 46 |
+
## 16
|
| 47 |
+
HTTP/2 error. A problem was detected in the HTTP2 framing layer. This is
|
| 48 |
+
somewhat generic and can be one out of several problems, see the error message
|
| 49 |
+
for details.
|
| 50 |
+
## 17
|
| 51 |
+
FTP could not set binary. Could not change transfer method to binary.
|
| 52 |
+
## 18
|
| 53 |
+
Partial file. Only a part of the file was transferred.
|
| 54 |
+
## 19
|
| 55 |
+
FTP could not download/access the given file, the RETR (or similar) command
|
| 56 |
+
failed.
|
| 57 |
+
## 21
|
| 58 |
+
FTP quote error. A quote command returned error from the server.
|
| 59 |
+
## 22
|
| 60 |
+
HTTP page not retrieved. The requested URL was not found or returned another
|
| 61 |
+
error with the HTTP error code being 400 or above. This return code only
|
| 62 |
+
appears if --fail is used.
|
| 63 |
+
## 23
|
| 64 |
+
Write error. Curl could not write data to a local filesystem or similar.
|
| 65 |
+
## 25
|
| 66 |
+
Failed starting the upload. For FTP, the server typically denied the STOR
|
| 67 |
+
command.
|
| 68 |
+
## 26
|
| 69 |
+
Read error. Various reading problems.
|
| 70 |
+
## 27
|
| 71 |
+
Out of memory. A memory allocation request failed.
|
| 72 |
+
## 28
|
| 73 |
+
Operation timeout. The specified time-out period was reached according to the
|
| 74 |
+
conditions.
|
| 75 |
+
## 30
|
| 76 |
+
FTP PORT failed. The PORT command failed. Not all FTP servers support the PORT
|
| 77 |
+
command, try doing a transfer using PASV instead.
|
| 78 |
+
## 31
|
| 79 |
+
FTP could not use REST. The REST command failed. This command is used for
|
| 80 |
+
resumed FTP transfers.
|
| 81 |
+
## 33
|
| 82 |
+
HTTP range error. The range "command" did not work.
|
| 83 |
+
## 34
|
| 84 |
+
HTTP post error. Internal post-request generation error.
|
| 85 |
+
## 35
|
| 86 |
+
SSL connect error. The SSL handshaking failed.
|
| 87 |
+
## 36
|
| 88 |
+
Bad download resume. Could not continue an earlier aborted download.
|
| 89 |
+
## 37
|
| 90 |
+
FILE could not read file. Failed to open the file. Permissions?
|
| 91 |
+
## 38
|
| 92 |
+
LDAP cannot bind. LDAP bind operation failed.
|
| 93 |
+
## 39
|
| 94 |
+
LDAP search failed.
|
| 95 |
+
## 41
|
| 96 |
+
Function not found. A required LDAP function was not found.
|
| 97 |
+
## 42
|
| 98 |
+
Aborted by callback. An application told curl to abort the operation.
|
| 99 |
+
## 43
|
| 100 |
+
Internal error. A function was called with a bad parameter.
|
| 101 |
+
## 45
|
| 102 |
+
Interface error. A specified outgoing interface could not be used.
|
| 103 |
+
## 47
|
| 104 |
+
Too many redirects. When following redirects, curl hit the maximum amount.
|
| 105 |
+
## 48
|
| 106 |
+
Unknown option specified to libcurl. This indicates that you passed a weird
|
| 107 |
+
option to curl that was passed on to libcurl and rejected. Read up in the
|
| 108 |
+
manual.
|
| 109 |
+
## 49
|
| 110 |
+
Malformed telnet option.
|
| 111 |
+
## 52
|
| 112 |
+
The server did not reply anything, which here is considered an error.
|
| 113 |
+
## 53
|
| 114 |
+
SSL crypto engine not found.
|
| 115 |
+
## 54
|
| 116 |
+
Cannot set SSL crypto engine as default.
|
| 117 |
+
## 55
|
| 118 |
+
Failed sending network data.
|
| 119 |
+
## 56
|
| 120 |
+
Failure in receiving network data.
|
| 121 |
+
## 58
|
| 122 |
+
Problem with the local certificate.
|
| 123 |
+
## 59
|
| 124 |
+
Could not use specified SSL cipher.
|
| 125 |
+
## 60
|
| 126 |
+
Peer certificate cannot be authenticated with known CA certificates.
|
| 127 |
+
## 61
|
| 128 |
+
Unrecognized transfer encoding.
|
| 129 |
+
## 63
|
| 130 |
+
Maximum file size exceeded.
|
| 131 |
+
## 64
|
| 132 |
+
Requested FTP SSL level failed.
|
| 133 |
+
## 65
|
| 134 |
+
Sending the data requires a rewind that failed.
|
| 135 |
+
## 66
|
| 136 |
+
Failed to initialize SSL Engine.
|
| 137 |
+
## 67
|
| 138 |
+
The username, password, or similar was not accepted and curl failed to log in.
|
| 139 |
+
## 68
|
| 140 |
+
File not found on TFTP server.
|
| 141 |
+
## 69
|
| 142 |
+
Permission problem on TFTP server.
|
| 143 |
+
## 70
|
| 144 |
+
Out of disk space on TFTP server.
|
| 145 |
+
## 71
|
| 146 |
+
Illegal TFTP operation.
|
| 147 |
+
## 72
|
| 148 |
+
Unknown TFTP transfer ID.
|
| 149 |
+
## 73
|
| 150 |
+
File already exists (TFTP).
|
| 151 |
+
## 74
|
| 152 |
+
No such user (TFTP).
|
| 153 |
+
## 77
|
| 154 |
+
Problem reading the SSL CA cert (path? access rights?).
|
| 155 |
+
## 78
|
| 156 |
+
The resource referenced in the URL does not exist.
|
| 157 |
+
## 79
|
| 158 |
+
An unspecified error occurred during the SSH session.
|
| 159 |
+
## 80
|
| 160 |
+
Failed to shut down the SSL connection.
|
| 161 |
+
## 82
|
| 162 |
+
Could not load CRL file, missing or wrong format (added in 7.19.0).
|
| 163 |
+
## 83
|
| 164 |
+
Issuer check failed (added in 7.19.0).
|
| 165 |
+
## 84
|
| 166 |
+
The FTP PRET command failed.
|
| 167 |
+
## 85
|
| 168 |
+
Mismatch of RTSP CSeq numbers.
|
| 169 |
+
## 86
|
| 170 |
+
Mismatch of RTSP Session Identifiers.
|
| 171 |
+
## 87
|
| 172 |
+
Unable to parse FTP file list.
|
| 173 |
+
## 88
|
| 174 |
+
FTP chunk callback reported error.
|
| 175 |
+
## 89
|
| 176 |
+
No connection available, the session is queued.
|
| 177 |
+
## 90
|
| 178 |
+
SSL public key does not matched pinned public key.
|
| 179 |
+
## 91
|
| 180 |
+
Invalid SSL certificate status.
|
| 181 |
+
## 92
|
| 182 |
+
Stream error in HTTP/2 framing layer.
|
| 183 |
+
## 93
|
| 184 |
+
An API function was called from inside a callback.
|
| 185 |
+
## 94
|
| 186 |
+
An authentication function returned an error.
|
| 187 |
+
## 95
|
| 188 |
+
A problem was detected in the HTTP/3 layer. This is somewhat generic and can
|
| 189 |
+
be one out of several problems, see the error message for details.
|
| 190 |
+
## 96
|
| 191 |
+
QUIC connection error. This error may be caused by an SSL library error. QUIC
|
| 192 |
+
is the protocol used for HTTP/3 transfers.
|
| 193 |
+
## 97
|
| 194 |
+
Proxy handshake error.
|
| 195 |
+
## 98
|
| 196 |
+
A client-side certificate is required to complete the TLS handshake.
|
| 197 |
+
## 99
|
| 198 |
+
Poll or select returned fatal error.
|
| 199 |
+
## 100
|
| 200 |
+
A value or data field grew larger than allowed.
|
| 201 |
+
## XX
|
| 202 |
+
More error codes might appear here in future releases. The existing ones are
|
| 203 |
+
meant to never change.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_FILES.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# FILES
|
| 4 |
+
*~/.curlrc*
|
| 5 |
+
|
| 6 |
+
Default config file, see --config for details.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_GLOBBING.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# GLOBBING
|
| 4 |
+
You can specify multiple URLs or parts of URLs by writing lists within braces
|
| 5 |
+
or ranges within brackets. We call this "globbing".
|
| 6 |
+
|
| 7 |
+
Provide a list with three different names like this:
|
| 8 |
+
|
| 9 |
+
"http://site.{one,two,three}.com"
|
| 10 |
+
|
| 11 |
+
Do sequences of alphanumeric series by using [] as in:
|
| 12 |
+
|
| 13 |
+
"ftp://ftp.example.com/file[1-100].txt"
|
| 14 |
+
|
| 15 |
+
With leading zeroes:
|
| 16 |
+
|
| 17 |
+
"ftp://ftp.example.com/file[001-100].txt"
|
| 18 |
+
|
| 19 |
+
With letters through the alphabet:
|
| 20 |
+
|
| 21 |
+
"ftp://ftp.example.com/file[a-z].txt"
|
| 22 |
+
|
| 23 |
+
Nested sequences are not supported, but you can use several ones next to each
|
| 24 |
+
other:
|
| 25 |
+
|
| 26 |
+
"http://example.com/archive[1996-1999]/vol[1-4]/part{a,b,c}.html"
|
| 27 |
+
|
| 28 |
+
You can specify a step counter for the ranges to get every Nth number or
|
| 29 |
+
letter:
|
| 30 |
+
|
| 31 |
+
"http://example.com/file[1-100:10].txt"
|
| 32 |
+
|
| 33 |
+
"http://example.com/file[a-z:2].txt"
|
| 34 |
+
|
| 35 |
+
When using [] or {} sequences when invoked from a command line prompt, you
|
| 36 |
+
probably have to put the full URL within double quotes to avoid the shell from
|
| 37 |
+
interfering with it. This also goes for other characters treated special, like
|
| 38 |
+
for example '&', '?' and '*'.
|
| 39 |
+
|
| 40 |
+
Switch off globbing with --globoff.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_NAME.md
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# NAME
|
| 4 |
+
curl - transfer a URL
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_OPTIONS.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# OPTIONS
|
| 4 |
+
|
| 5 |
+
Options start with one or two dashes. Many of the options require an
|
| 6 |
+
additional value next to them. If provided text does not start with a dash, it
|
| 7 |
+
is presumed to be and treated as a URL.
|
| 8 |
+
|
| 9 |
+
The short "single-dash" form of the options, -d for example, may be used with
|
| 10 |
+
or without a space between it and its value, although a space is a recommended
|
| 11 |
+
separator. The long double-dash form, --data for example, requires a space
|
| 12 |
+
between it and its value.
|
| 13 |
+
|
| 14 |
+
Short version options that do not need any additional values can be used
|
| 15 |
+
immediately next to each other, like for example you can specify all the
|
| 16 |
+
options *-O*, *-L* and *-v* at once as *-OLv*.
|
| 17 |
+
|
| 18 |
+
In general, all boolean options are enabled with --**option** and yet again
|
| 19 |
+
disabled with --**no-**option. That is, you use the same option name but
|
| 20 |
+
prefix it with `no-`. However, in this list we mostly only list and show the
|
| 21 |
+
--**option** version of them.
|
| 22 |
+
|
| 23 |
+
When --next is used, it resets the parser state and you start again with a
|
| 24 |
+
clean option state, except for the options that are global. Global options
|
| 25 |
+
retain their values and meaning even after --next.
|
| 26 |
+
|
| 27 |
+
The following options are global: `%GLOBALS`.
|
| 28 |
+
|
| 29 |
+
# ALL OPTIONS
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_OUTPUT.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# OUTPUT
|
| 4 |
+
If not told otherwise, curl writes the received data to stdout. It can be
|
| 5 |
+
instructed to instead save that data into a local file, using the --output or
|
| 6 |
+
--remote-name options. If curl is given multiple URLs to transfer on the
|
| 7 |
+
command line, it similarly needs multiple options for where to save them.
|
| 8 |
+
|
| 9 |
+
curl does not parse or otherwise "understand" the content it gets or writes as
|
| 10 |
+
output. It does no encoding or decoding, unless explicitly asked to with
|
| 11 |
+
dedicated command line options.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_PROGRESS.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# PROGRESS METER
|
| 4 |
+
|
| 5 |
+
curl normally displays a progress meter during operations, indicating the
|
| 6 |
+
amount of transferred data, transfer speeds and estimated time left, etc. The
|
| 7 |
+
progress meter displays the transfer rate in bytes per second. The suffixes
|
| 8 |
+
(k, M, G, T, P) are 1024 based. For example 1k is 1024 bytes. 1M is 1048576
|
| 9 |
+
bytes.
|
| 10 |
+
|
| 11 |
+
curl displays this data to the terminal by default, so if you invoke curl to
|
| 12 |
+
do an operation and it is about to write data to the terminal, it *disables*
|
| 13 |
+
the progress meter as otherwise it would mess up the output mixing progress
|
| 14 |
+
meter and response data.
|
| 15 |
+
|
| 16 |
+
If you want a progress meter for HTTP POST or PUT requests, you need to
|
| 17 |
+
redirect the response output to a file, using shell redirect (\>), --output
|
| 18 |
+
or similar.
|
| 19 |
+
|
| 20 |
+
This does not apply to FTP upload as that operation does not spit out any
|
| 21 |
+
response data to the terminal.
|
| 22 |
+
|
| 23 |
+
If you prefer a progress bar instead of the regular meter, --progress-bar is
|
| 24 |
+
your friend. You can also disable the progress meter completely with the
|
| 25 |
+
--silent option.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_PROTOCOLS.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# PROTOCOLS
|
| 4 |
+
curl supports numerous protocols, or put in URL terms: schemes. Your
|
| 5 |
+
particular build may not support them all.
|
| 6 |
+
## DICT
|
| 7 |
+
Lets you lookup words using online dictionaries.
|
| 8 |
+
## FILE
|
| 9 |
+
Read or write local files. curl does not support accessing file:// URL
|
| 10 |
+
remotely, but when running on Microsoft Windows using the native UNC approach
|
| 11 |
+
works.
|
| 12 |
+
## FTP(S)
|
| 13 |
+
curl supports the File Transfer Protocol with a lot of tweaks and levers. With
|
| 14 |
+
or without using TLS.
|
| 15 |
+
## GOPHER(S)
|
| 16 |
+
Retrieve files.
|
| 17 |
+
## HTTP(S)
|
| 18 |
+
curl supports HTTP with numerous options and variations. It can speak HTTP
|
| 19 |
+
version 0.9, 1.0, 1.1, 2 and 3 depending on build options and the correct
|
| 20 |
+
command line options.
|
| 21 |
+
## IMAP(S)
|
| 22 |
+
Using the mail reading protocol, curl can download emails for you. With or
|
| 23 |
+
without using TLS.
|
| 24 |
+
## LDAP(S)
|
| 25 |
+
curl can do directory lookups for you, with or without TLS.
|
| 26 |
+
## MQTT
|
| 27 |
+
curl supports MQTT version 3. Downloading over MQTT equals subscribe to a
|
| 28 |
+
topic while uploading/posting equals publish on a topic. MQTT over TLS is not
|
| 29 |
+
supported (yet).
|
| 30 |
+
## POP3(S)
|
| 31 |
+
Downloading from a pop3 server means getting a mail. With or without using
|
| 32 |
+
TLS.
|
| 33 |
+
## RTMP(S)
|
| 34 |
+
The **Realtime Messaging Protocol** is primarily used to serve streaming media
|
| 35 |
+
and curl can download it.
|
| 36 |
+
## RTSP
|
| 37 |
+
curl supports RTSP 1.0 downloads.
|
| 38 |
+
## SCP
|
| 39 |
+
curl supports SSH version 2 scp transfers.
|
| 40 |
+
## SFTP
|
| 41 |
+
curl supports SFTP (draft 5) done over SSH version 2.
|
| 42 |
+
## SMB(S)
|
| 43 |
+
curl supports SMB version 1 for upload and download.
|
| 44 |
+
## SMTP(S)
|
| 45 |
+
Uploading contents to an SMTP server means sending an email. With or without
|
| 46 |
+
TLS.
|
| 47 |
+
## TELNET
|
| 48 |
+
Fetching a telnet URL starts an interactive session where it sends what it
|
| 49 |
+
reads on stdin and outputs what the server sends it.
|
| 50 |
+
## TFTP
|
| 51 |
+
curl can do TFTP downloads and uploads.
|
| 52 |
+
## WS(S)
|
| 53 |
+
WebSocket done over HTTP/1. WSS implies that it works over HTTPS.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_PROXYPREFIX.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# PROXY PROTOCOL PREFIXES
|
| 4 |
+
The proxy string may be specified with a protocol:// prefix to specify
|
| 5 |
+
alternative proxy protocols. (Added in 7.21.7)
|
| 6 |
+
|
| 7 |
+
If no protocol is specified in the proxy string or if the string does not
|
| 8 |
+
match a supported one, the proxy is treated as an HTTP proxy.
|
| 9 |
+
|
| 10 |
+
The supported proxy protocol prefixes are as follows:
|
| 11 |
+
## http://
|
| 12 |
+
Makes it use it as an HTTP proxy. The default if no scheme prefix is used.
|
| 13 |
+
## https://
|
| 14 |
+
Makes it treated as an **HTTPS** proxy.
|
| 15 |
+
## socks4://
|
| 16 |
+
Makes it the equivalent of --socks4
|
| 17 |
+
## socks4a://
|
| 18 |
+
Makes it the equivalent of --socks4a
|
| 19 |
+
## socks5://
|
| 20 |
+
Makes it the equivalent of --socks5
|
| 21 |
+
## socks5h://
|
| 22 |
+
Makes it the equivalent of --socks5-hostname
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_SEEALSO.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# SEE ALSO
|
| 4 |
+
|
| 5 |
+
**ftp (1)**, **wget (1)**
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_SYNOPSIS.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# SYNOPSIS
|
| 4 |
+
|
| 5 |
+
**curl [options / URLs]**
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_URL.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# URL
|
| 4 |
+
The URL syntax is protocol-dependent. You find a detailed description in
|
| 5 |
+
RFC 3986.
|
| 6 |
+
|
| 7 |
+
If you provide a URL without a leading **protocol://** scheme, curl guesses
|
| 8 |
+
what protocol you want. It then defaults to HTTP but assumes others based on
|
| 9 |
+
often-used hostname prefixes. For example, for hostnames starting with `ftp.`
|
| 10 |
+
curl assumes you want FTP.
|
| 11 |
+
|
| 12 |
+
You can specify any amount of URLs on the command line. They are fetched in a
|
| 13 |
+
sequential manner in the specified order unless you use --parallel. You can
|
| 14 |
+
specify command line options and URLs mixed and in any order on the command
|
| 15 |
+
line.
|
| 16 |
+
|
| 17 |
+
curl attempts to reuse connections when doing multiple transfers, so that
|
| 18 |
+
getting many files from the same server do not use multiple connects and setup
|
| 19 |
+
handshakes. This improves speed. Connection reuse can only be done for URLs
|
| 20 |
+
specified for a single command line invocation and cannot be performed between
|
| 21 |
+
separate curl runs.
|
| 22 |
+
|
| 23 |
+
Provide an IPv6 zone id in the URL with an escaped percentage sign. Like in
|
| 24 |
+
|
| 25 |
+
"http://[fe80::3%25eth0]/"
|
| 26 |
+
|
| 27 |
+
Everything provided on the command line that is not a command line option or
|
| 28 |
+
its argument, curl assumes is a URL and treats it as such.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_VARIABLES.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# VARIABLES
|
| 4 |
+
curl supports command line variables (added in 8.3.0). Set variables with
|
| 5 |
+
--variable name=content or --variable name@file (where `file` can be stdin if
|
| 6 |
+
set to a single dash (-)).
|
| 7 |
+
|
| 8 |
+
Variable contents can be expanded in option parameters using `{{name}}` if the
|
| 9 |
+
option name is prefixed with `--expand-`. This gets the contents of the
|
| 10 |
+
variable `name` inserted, or a blank if the name does not exist as a
|
| 11 |
+
variable. Insert `{{` verbatim in the string by prefixing it with a backslash,
|
| 12 |
+
like `\{{`.
|
| 13 |
+
|
| 14 |
+
You access and expand environment variables by first importing them. You
|
| 15 |
+
select to either require the environment variable to be set or you can provide
|
| 16 |
+
a default value in case it is not already set. Plain `--variable %name`
|
| 17 |
+
imports the variable called `name` but exits with an error if that environment
|
| 18 |
+
variable is not already set. To provide a default value if it is not set, use
|
| 19 |
+
`--variable %name=content` or `--variable %name@content`.
|
| 20 |
+
|
| 21 |
+
Example. Get the USER environment variable into the URL, fail if USER is not
|
| 22 |
+
set:
|
| 23 |
+
|
| 24 |
+
--variable '%USER'
|
| 25 |
+
--expand-url = "https://example.com/api/{{USER}}/method"
|
| 26 |
+
|
| 27 |
+
When expanding variables, curl supports a set of functions that can make the
|
| 28 |
+
variable contents more convenient to use. It can trim leading and trailing
|
| 29 |
+
white space with `trim`, it can output the contents as a JSON quoted string
|
| 30 |
+
with `json`, URL encode the string with `url` or base64 encode it with `b64`.
|
| 31 |
+
To apply functions to a variable expansion, add them colon separated to the
|
| 32 |
+
right side of the variable. Variable content holding null bytes that are not
|
| 33 |
+
encoded when expanded cause error.
|
| 34 |
+
|
| 35 |
+
Example: get the contents of a file called $HOME/.secret into a variable
|
| 36 |
+
called "fix". Make sure that the content is trimmed and percent-encoded when
|
| 37 |
+
sent as POST data:
|
| 38 |
+
|
| 39 |
+
--variable %HOME
|
| 40 |
+
--expand-variable fix@{{HOME}}/.secret
|
| 41 |
+
--expand-data "{{fix:trim:url}}"
|
| 42 |
+
https://example.com/
|
| 43 |
+
|
| 44 |
+
Command line variables and expansions were added in 8.3.0.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_VERSION.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# VERSION
|
| 4 |
+
|
| 5 |
+
This man page describes curl `%VERSION`. If you use a later version, chances
|
| 6 |
+
are this man page does not fully document it. If you use an earlier version,
|
| 7 |
+
this document tries to include version information about which specific
|
| 8 |
+
version that introduced changes.
|
| 9 |
+
|
| 10 |
+
You can always learn which the latest curl version is by running
|
| 11 |
+
|
| 12 |
+
curl https://curl.se/info
|
| 13 |
+
|
| 14 |
+
The online version of this man page is always showing the latest incarnation:
|
| 15 |
+
https://curl.se/docs/manpage.html
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/_WWW.md
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
|
| 2 |
+
<!-- SPDX-License-Identifier: curl -->
|
| 3 |
+
# WWW
|
| 4 |
+
https://curl.se
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/abstract-unix-socket.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: abstract-unix-socket
|
| 5 |
+
Arg: <path>
|
| 6 |
+
Help: Connect via abstract Unix domain socket
|
| 7 |
+
Added: 7.53.0
|
| 8 |
+
Protocols: HTTP
|
| 9 |
+
Category: connection
|
| 10 |
+
Multi: single
|
| 11 |
+
See-also:
|
| 12 |
+
- unix-socket
|
| 13 |
+
Example:
|
| 14 |
+
- --abstract-unix-socket socketpath $URL
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# `--abstract-unix-socket`
|
| 18 |
+
|
| 19 |
+
Connect through an abstract Unix domain socket, instead of using the network.
|
| 20 |
+
Note: netstat shows the path of an abstract socket prefixed with `@`, however
|
| 21 |
+
the \<path\> argument should not have this leading character.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/alt-svc.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: alt-svc
|
| 5 |
+
Arg: <filename>
|
| 6 |
+
Protocols: HTTPS
|
| 7 |
+
Help: Enable alt-svc with this cache file
|
| 8 |
+
Added: 7.64.1
|
| 9 |
+
Category: http
|
| 10 |
+
Multi: append
|
| 11 |
+
See-also:
|
| 12 |
+
- resolve
|
| 13 |
+
- connect-to
|
| 14 |
+
Example:
|
| 15 |
+
- --alt-svc svc.txt $URL
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# `--alt-svc`
|
| 19 |
+
|
| 20 |
+
Enable the alt-svc parser. If the filename points to an existing alt-svc cache
|
| 21 |
+
file, that gets used. After a completed transfer, the cache is saved to the
|
| 22 |
+
filename again if it has been modified.
|
| 23 |
+
|
| 24 |
+
Specify a "" filename (zero length) to avoid loading/saving and make curl just
|
| 25 |
+
handle the cache in memory.
|
| 26 |
+
|
| 27 |
+
If this option is used several times, curl loads contents from all the
|
| 28 |
+
files but the last one is used for saving.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/anyauth.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: anyauth
|
| 5 |
+
Help: Pick any authentication method
|
| 6 |
+
Protocols: HTTP
|
| 7 |
+
Category: http proxy auth
|
| 8 |
+
Added: 7.10.6
|
| 9 |
+
Multi: mutex
|
| 10 |
+
See-also:
|
| 11 |
+
- proxy-anyauth
|
| 12 |
+
- basic
|
| 13 |
+
- digest
|
| 14 |
+
Example:
|
| 15 |
+
- --anyauth --user me:pwd $URL
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# `--anyauth`
|
| 19 |
+
|
| 20 |
+
Figure out authentication method automatically, and use the most secure one
|
| 21 |
+
the remote site claims to support. This is done by first doing a request and
|
| 22 |
+
checking the response-headers, thus possibly inducing an extra network
|
| 23 |
+
round-trip. This option is used instead of setting a specific authentication
|
| 24 |
+
method, which you can do with --basic, --digest, --ntlm, and --negotiate.
|
| 25 |
+
|
| 26 |
+
Using --anyauth is not recommended if you do uploads from stdin, since it may
|
| 27 |
+
require data to be sent twice and then the client must be able to rewind. If
|
| 28 |
+
the need should arise when uploading from stdin, the upload operation fails.
|
| 29 |
+
|
| 30 |
+
Used together with --user.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/append.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Short: a
|
| 5 |
+
Long: append
|
| 6 |
+
Help: Append to target file when uploading
|
| 7 |
+
Protocols: FTP SFTP
|
| 8 |
+
Category: ftp sftp
|
| 9 |
+
Added: 4.8
|
| 10 |
+
Multi: boolean
|
| 11 |
+
See-also:
|
| 12 |
+
- range
|
| 13 |
+
- continue-at
|
| 14 |
+
Example:
|
| 15 |
+
- --upload-file local --append ftp://example.com/
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# `--append`
|
| 19 |
+
|
| 20 |
+
When used in an upload, this option makes curl append to the target file
|
| 21 |
+
instead of overwriting it. If the remote file does not exist, it is
|
| 22 |
+
created. Note that this flag is ignored by some SFTP servers (including
|
| 23 |
+
OpenSSH).
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/aws-sigv4.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: aws-sigv4
|
| 5 |
+
Protocols: HTTP
|
| 6 |
+
Arg: <provider1[:prvdr2[:reg[:srv]]]>
|
| 7 |
+
Help: AWS V4 signature auth
|
| 8 |
+
Category: auth http
|
| 9 |
+
Added: 7.75.0
|
| 10 |
+
Multi: single
|
| 11 |
+
See-also:
|
| 12 |
+
- basic
|
| 13 |
+
- user
|
| 14 |
+
Example:
|
| 15 |
+
- --aws-sigv4 "aws:amz:us-east-2:es" --user "key:secret" $URL
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# `--aws-sigv4`
|
| 19 |
+
|
| 20 |
+
Use AWS V4 signature authentication in the transfer.
|
| 21 |
+
|
| 22 |
+
The provider argument is a string that is used by the algorithm when creating
|
| 23 |
+
outgoing authentication headers.
|
| 24 |
+
|
| 25 |
+
The region argument is a string that points to a geographic area of
|
| 26 |
+
a resources collection (region-code) when the region name is omitted from
|
| 27 |
+
the endpoint.
|
| 28 |
+
|
| 29 |
+
The service argument is a string that points to a function provided by a cloud
|
| 30 |
+
(service-code) when the service name is omitted from the endpoint.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/basic.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: basic
|
| 5 |
+
Help: HTTP Basic Authentication
|
| 6 |
+
Protocols: HTTP
|
| 7 |
+
Category: auth
|
| 8 |
+
Added: 7.10.6
|
| 9 |
+
Multi: mutex
|
| 10 |
+
See-also:
|
| 11 |
+
- proxy-basic
|
| 12 |
+
Example:
|
| 13 |
+
- -u name:password --basic $URL
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# `--basic`
|
| 17 |
+
|
| 18 |
+
Use HTTP Basic authentication with the remote host. This method is the default
|
| 19 |
+
and this option is usually pointless, unless you use it to override a
|
| 20 |
+
previously set option that sets a different authentication method (such as
|
| 21 |
+
--ntlm, --digest, or --negotiate).
|
| 22 |
+
|
| 23 |
+
Used together with --user.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/ca-native.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: ca-native
|
| 5 |
+
Help: Load CA certs from the OS
|
| 6 |
+
Protocols: TLS
|
| 7 |
+
Category: tls
|
| 8 |
+
Added: 8.2.0
|
| 9 |
+
Multi: boolean
|
| 10 |
+
See-also:
|
| 11 |
+
- cacert
|
| 12 |
+
- capath
|
| 13 |
+
- dump-ca-embed
|
| 14 |
+
- insecure
|
| 15 |
+
Example:
|
| 16 |
+
- --ca-native $URL
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# `--ca-native`
|
| 20 |
+
|
| 21 |
+
Use the CA store from the native operating system to verify the peer. By
|
| 22 |
+
default, curl otherwise uses a CA store provided in a single file or
|
| 23 |
+
directory, but when using this option it interfaces the operating system's own
|
| 24 |
+
vault.
|
| 25 |
+
|
| 26 |
+
This option works for curl on Windows when built to use OpenSSL, wolfSSL
|
| 27 |
+
(added in 8.3.0) or GnuTLS (added in 8.5.0). When curl on Windows is built to
|
| 28 |
+
use Schannel, this feature is implied and curl then only uses the native CA
|
| 29 |
+
store.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cacert.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: cacert
|
| 5 |
+
Arg: <file>
|
| 6 |
+
Help: CA certificate to verify peer against
|
| 7 |
+
Protocols: TLS
|
| 8 |
+
Category: tls
|
| 9 |
+
Added: 7.5
|
| 10 |
+
Multi: single
|
| 11 |
+
See-also:
|
| 12 |
+
- capath
|
| 13 |
+
- dump-ca-embed
|
| 14 |
+
- insecure
|
| 15 |
+
Example:
|
| 16 |
+
- --cacert CA-file.txt $URL
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# `--cacert`
|
| 20 |
+
|
| 21 |
+
Use the specified certificate file to verify the peer. The file may contain
|
| 22 |
+
multiple CA certificates. The certificate(s) must be in PEM format. Normally
|
| 23 |
+
curl is built to use a default file for this, so this option is typically used
|
| 24 |
+
to alter that default file.
|
| 25 |
+
|
| 26 |
+
curl recognizes the environment variable named 'CURL_CA_BUNDLE' if it is set
|
| 27 |
+
and the TLS backend is not Schannel, and uses the given path as a path to a CA
|
| 28 |
+
cert bundle. This option overrides that variable.
|
| 29 |
+
|
| 30 |
+
(Windows) curl automatically looks for a CA certs file named
|
| 31 |
+
'curl-ca-bundle.crt', either in the same directory as curl.exe, or in the
|
| 32 |
+
Current Working Directory, or in any folder along your PATH.
|
| 33 |
+
|
| 34 |
+
curl 8.11.0 added a build-time option to disable this search behavior, and
|
| 35 |
+
another option to restrict search to the application's directory.
|
| 36 |
+
|
| 37 |
+
(iOS and macOS only) If curl is built against Secure Transport, then this
|
| 38 |
+
option is supported for backward compatibility with other SSL engines, but it
|
| 39 |
+
should not be set. If the option is not set, then curl uses the certificates
|
| 40 |
+
in the system and user Keychain to verify the peer, which is the preferred
|
| 41 |
+
method of verifying the peer's certificate chain.
|
| 42 |
+
|
| 43 |
+
(Schannel only) This option is supported for Schannel in Windows 7 or later
|
| 44 |
+
(added in 7.60.0). This option is supported for backward compatibility with
|
| 45 |
+
other SSL engines; instead it is recommended to use Windows' store of root
|
| 46 |
+
certificates (the default for Schannel).
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/capath.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: capath
|
| 5 |
+
Arg: <dir>
|
| 6 |
+
Help: CA directory to verify peer against
|
| 7 |
+
Protocols: TLS
|
| 8 |
+
Category: tls
|
| 9 |
+
Added: 7.9.8
|
| 10 |
+
Multi: single
|
| 11 |
+
See-also:
|
| 12 |
+
- cacert
|
| 13 |
+
- dump-ca-embed
|
| 14 |
+
- insecure
|
| 15 |
+
Example:
|
| 16 |
+
- --capath /local/directory $URL
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# `--capath`
|
| 20 |
+
|
| 21 |
+
Use the specified certificate directory to verify the peer. Multiple paths can
|
| 22 |
+
be provided by separated with colon (`:`) (e.g. `path1:path2:path3`). The
|
| 23 |
+
certificates must be in PEM format, and if curl is built against OpenSSL, the
|
| 24 |
+
directory must have been processed using the c_rehash utility supplied with
|
| 25 |
+
OpenSSL. Using --capath can allow OpenSSL-powered curl to make SSL-connections
|
| 26 |
+
much more efficiently than using --cacert if the --cacert file contains many
|
| 27 |
+
CA certificates.
|
| 28 |
+
|
| 29 |
+
If this option is set, the default capath value is ignored.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cert-status.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: cert-status
|
| 5 |
+
Protocols: TLS
|
| 6 |
+
Added: 7.41.0
|
| 7 |
+
Help: Verify server cert status OCSP-staple
|
| 8 |
+
Category: tls
|
| 9 |
+
Multi: boolean
|
| 10 |
+
See-also:
|
| 11 |
+
- pinnedpubkey
|
| 12 |
+
Example:
|
| 13 |
+
- --cert-status $URL
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# `--cert-status`
|
| 17 |
+
|
| 18 |
+
Verify the status of the server certificate by using the Certificate Status
|
| 19 |
+
Request (aka. OCSP stapling) TLS extension.
|
| 20 |
+
|
| 21 |
+
If this option is enabled and the server sends an invalid (e.g. expired)
|
| 22 |
+
response, if the response suggests that the server certificate has been
|
| 23 |
+
revoked, or no response at all is received, the verification fails.
|
| 24 |
+
|
| 25 |
+
This support is currently only implemented in the OpenSSL and GnuTLS backends.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cert-type.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: cert-type
|
| 5 |
+
Protocols: TLS
|
| 6 |
+
Arg: <type>
|
| 7 |
+
Help: Certificate type (DER/PEM/ENG/P12)
|
| 8 |
+
Category: tls
|
| 9 |
+
Added: 7.9.3
|
| 10 |
+
Multi: single
|
| 11 |
+
See-also:
|
| 12 |
+
- cert
|
| 13 |
+
- key
|
| 14 |
+
- key-type
|
| 15 |
+
Example:
|
| 16 |
+
- --cert-type PEM --cert file $URL
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# `--cert-type`
|
| 20 |
+
|
| 21 |
+
Set type of the provided client certificate. PEM, DER, ENG and P12 are
|
| 22 |
+
recognized types.
|
| 23 |
+
|
| 24 |
+
The default type depends on the TLS backend and is usually PEM, however for
|
| 25 |
+
Secure Transport and Schannel it is P12. If --cert is a pkcs11: URI then ENG is
|
| 26 |
+
the default type.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cert.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Short: E
|
| 5 |
+
Long: cert
|
| 6 |
+
Arg: <certificate[:password]>
|
| 7 |
+
Help: Client certificate file and password
|
| 8 |
+
Protocols: TLS
|
| 9 |
+
Category: tls
|
| 10 |
+
Added: 5.0
|
| 11 |
+
Multi: single
|
| 12 |
+
See-also:
|
| 13 |
+
- cert-type
|
| 14 |
+
- key
|
| 15 |
+
- key-type
|
| 16 |
+
Example:
|
| 17 |
+
- --cert certfile --key keyfile $URL
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# `--cert`
|
| 21 |
+
|
| 22 |
+
Use the specified client certificate file when getting a file with HTTPS, FTPS
|
| 23 |
+
or another SSL-based protocol. The certificate must be in PKCS#12 format if
|
| 24 |
+
using Secure Transport, or PEM format if using any other engine. If the
|
| 25 |
+
optional password is not specified, it is queried for on the terminal. Note
|
| 26 |
+
that this option assumes a certificate file that is the private key and the
|
| 27 |
+
client certificate concatenated. See --cert and --key to specify them
|
| 28 |
+
independently.
|
| 29 |
+
|
| 30 |
+
In the \<certificate\> portion of the argument, you must escape the character
|
| 31 |
+
`:` as `\:` so that it is not recognized as the password delimiter. Similarly,
|
| 32 |
+
you must escape the double quote character as \" so that it is not recognized
|
| 33 |
+
as an escape character.
|
| 34 |
+
|
| 35 |
+
If curl is built against OpenSSL library, and the engine pkcs11 is available,
|
| 36 |
+
then a PKCS#11 URI (RFC 7512) can be used to specify a certificate located in
|
| 37 |
+
a PKCS#11 device. A string beginning with `pkcs11:` is interpreted as a
|
| 38 |
+
PKCS#11 URI. If a PKCS#11 URI is provided, then the --engine option is set as
|
| 39 |
+
`pkcs11` if none was provided and the --cert-type option is set as `ENG` if
|
| 40 |
+
none was provided.
|
| 41 |
+
|
| 42 |
+
If curl is built against GnuTLS library, a PKCS#11 URI can be used to specify
|
| 43 |
+
a certificate located in a PKCS#11 device. A string beginning with `pkcs11:`
|
| 44 |
+
is interpreted as a PKCS#11 URI.
|
| 45 |
+
|
| 46 |
+
(iOS and macOS only) If curl is built against Secure Transport, then the
|
| 47 |
+
certificate string can either be the name of a certificate/private key in the
|
| 48 |
+
system or user keychain, or the path to a PKCS#12-encoded certificate and
|
| 49 |
+
private key. If you want to use a file from the current directory, please
|
| 50 |
+
precede it with `./` prefix, in order to avoid confusion with a nickname.
|
| 51 |
+
|
| 52 |
+
(Schannel only) Client certificates must be specified by a path expression to
|
| 53 |
+
a certificate store. (Loading *PFX* is not supported; you can import it to a
|
| 54 |
+
store first). You can use "\<store location\>\\<store name\>\\<thumbprint\>"
|
| 55 |
+
to refer to a certificate in the system certificates store, for example,
|
| 56 |
+
*"CurrentUser\MY\934a7ac6f8a5d579285a74fa61e19f23ddfe8d7a"*. Thumbprint is
|
| 57 |
+
usually a SHA-1 hex string which you can see in certificate details. Following
|
| 58 |
+
store locations are supported: *CurrentUser*, *LocalMachine*,
|
| 59 |
+
*CurrentService*, *Services*, *CurrentUserGroupPolicy*,
|
| 60 |
+
*LocalMachineGroupPolicy* and *LocalMachineEnterprise*.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/ciphers.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: ciphers
|
| 5 |
+
Arg: <list>
|
| 6 |
+
Help: TLS 1.2 (1.1, 1.0) ciphers to use
|
| 7 |
+
Protocols: TLS
|
| 8 |
+
Category: tls
|
| 9 |
+
Added: 7.9
|
| 10 |
+
Multi: single
|
| 11 |
+
See-also:
|
| 12 |
+
- tls13-ciphers
|
| 13 |
+
- proxy-ciphers
|
| 14 |
+
- curves
|
| 15 |
+
Example:
|
| 16 |
+
- --ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256 $URL
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# `--ciphers`
|
| 20 |
+
|
| 21 |
+
Specifies which cipher suites to use in the connection if it negotiates
|
| 22 |
+
TLS 1.2 (1.1, 1.0). The list of ciphers suites must specify valid ciphers.
|
| 23 |
+
Read up on cipher suite details on this URL:
|
| 24 |
+
|
| 25 |
+
https://curl.se/docs/ssl-ciphers.html
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/compressed-ssh.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: compressed-ssh
|
| 5 |
+
Help: Enable SSH compression
|
| 6 |
+
Protocols: SCP SFTP
|
| 7 |
+
Added: 7.56.0
|
| 8 |
+
Category: scp ssh
|
| 9 |
+
Multi: boolean
|
| 10 |
+
See-also:
|
| 11 |
+
- compressed
|
| 12 |
+
Example:
|
| 13 |
+
- --compressed-ssh sftp://example.com/
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# `--compressed-ssh`
|
| 17 |
+
|
| 18 |
+
Enables built-in SSH compression. This is a request, not an order; the server
|
| 19 |
+
may or may not do it.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/compressed.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: compressed
|
| 5 |
+
Help: Request compressed response
|
| 6 |
+
Protocols: HTTP
|
| 7 |
+
Category: http
|
| 8 |
+
Added: 7.10
|
| 9 |
+
Multi: boolean
|
| 10 |
+
See-also:
|
| 11 |
+
- compressed-ssh
|
| 12 |
+
Example:
|
| 13 |
+
- --compressed $URL
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# `--compressed`
|
| 17 |
+
|
| 18 |
+
Request a compressed response using one of the algorithms curl supports, and
|
| 19 |
+
automatically decompress the content.
|
| 20 |
+
|
| 21 |
+
Response headers are not modified when saved, so if they are "interpreted"
|
| 22 |
+
separately again at a later point they might appear to be saying that the
|
| 23 |
+
content is (still) compressed; while in fact it has already been decompressed.
|
| 24 |
+
|
| 25 |
+
If this option is used and the server sends an unsupported encoding, curl
|
| 26 |
+
reports an error. This is a request, not an order; the server may or may not
|
| 27 |
+
deliver data compressed.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/config.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: config
|
| 5 |
+
Arg: <file>
|
| 6 |
+
Help: Read config from a file
|
| 7 |
+
Short: K
|
| 8 |
+
Category: curl
|
| 9 |
+
Added: 4.10
|
| 10 |
+
Multi: append
|
| 11 |
+
See-also:
|
| 12 |
+
- disable
|
| 13 |
+
Example:
|
| 14 |
+
- --config file.txt $URL
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# `--config`
|
| 18 |
+
|
| 19 |
+
Specify a text file to read curl arguments from. The command line arguments
|
| 20 |
+
found in the text file are used as if they were provided on the command
|
| 21 |
+
line.
|
| 22 |
+
|
| 23 |
+
Options and their parameters must be specified on the same line in the file,
|
| 24 |
+
separated by whitespace, colon, or the equals sign. Long option names can
|
| 25 |
+
optionally be given in the config file without the initial double dashes and
|
| 26 |
+
if so, the colon or equals characters can be used as separators. If the option
|
| 27 |
+
is specified with one or two dashes, there can be no colon or equals character
|
| 28 |
+
between the option and its parameter.
|
| 29 |
+
|
| 30 |
+
If the parameter contains whitespace or starts with a colon (:) or equals sign
|
| 31 |
+
(=), it must be specified enclosed within double quotes ("like this"). Within
|
| 32 |
+
double quotes the following escape sequences are available: \\, \", \t, \n, \r
|
| 33 |
+
and \v. A backslash preceding any other letter is ignored.
|
| 34 |
+
|
| 35 |
+
If the first non-blank column of a config line is a '#' character, that line
|
| 36 |
+
is treated as a comment.
|
| 37 |
+
|
| 38 |
+
Only write one option per physical line in the config file. A single line is
|
| 39 |
+
required to be no more than 10 megabytes (since 8.2.0).
|
| 40 |
+
|
| 41 |
+
Specify the filename to --config as minus "-" to make curl read the file from
|
| 42 |
+
stdin.
|
| 43 |
+
|
| 44 |
+
Note that to be able to specify a URL in the config file, you need to specify
|
| 45 |
+
it using the --url option, and not by simply writing the URL on its own
|
| 46 |
+
line. So, it could look similar to this:
|
| 47 |
+
|
| 48 |
+
url = "https://curl.se/docs/"
|
| 49 |
+
|
| 50 |
+
# --- Example file ---
|
| 51 |
+
# this is a comment
|
| 52 |
+
url = "example.com"
|
| 53 |
+
output = "curlhere.html"
|
| 54 |
+
user-agent = "superagent/1.0"
|
| 55 |
+
|
| 56 |
+
# and fetch another URL too
|
| 57 |
+
url = "example.com/docs/manpage.html"
|
| 58 |
+
-O
|
| 59 |
+
referer = "http://nowhereatall.example.com/"
|
| 60 |
+
# --- End of example file ---
|
| 61 |
+
|
| 62 |
+
When curl is invoked, it (unless --disable is used) checks for a default
|
| 63 |
+
config file and uses it if found, even when --config is used. The default
|
| 64 |
+
config file is checked for in the following places in this order:
|
| 65 |
+
|
| 66 |
+
1) **"$CURL_HOME/.curlrc"**
|
| 67 |
+
|
| 68 |
+
2) **"$XDG_CONFIG_HOME/curlrc"** (Added in 7.73.0)
|
| 69 |
+
|
| 70 |
+
3) **"$HOME/.curlrc"**
|
| 71 |
+
|
| 72 |
+
4) Windows: **"%USERPROFILE%\.curlrc"**
|
| 73 |
+
|
| 74 |
+
5) Windows: **"%APPDATA%\.curlrc"**
|
| 75 |
+
|
| 76 |
+
6) Windows: **"%USERPROFILE%\Application Data\.curlrc"**
|
| 77 |
+
|
| 78 |
+
7) Non-Windows: use getpwuid to find the home directory
|
| 79 |
+
|
| 80 |
+
8) On Windows, if it finds no *.curlrc* file in the sequence described above, it
|
| 81 |
+
checks for one in the same directory the curl executable is placed.
|
| 82 |
+
|
| 83 |
+
On Windows two filenames are checked per location: *.curlrc* and *_curlrc*,
|
| 84 |
+
preferring the former. Older versions on Windows checked for *_curlrc* only.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/connect-timeout.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: connect-timeout
|
| 5 |
+
Arg: <seconds>
|
| 6 |
+
Help: Maximum time allowed to connect
|
| 7 |
+
Category: connection timeout
|
| 8 |
+
Added: 7.7
|
| 9 |
+
Multi: single
|
| 10 |
+
See-also:
|
| 11 |
+
- max-time
|
| 12 |
+
Example:
|
| 13 |
+
- --connect-timeout 20 $URL
|
| 14 |
+
- --connect-timeout 3.14 $URL
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# `--connect-timeout`
|
| 18 |
+
|
| 19 |
+
Maximum time in seconds that you allow curl's connection to take. This only
|
| 20 |
+
limits the connection phase, so if curl connects within the given period it
|
| 21 |
+
continues - if not it exits.
|
| 22 |
+
|
| 23 |
+
This option accepts decimal values (added in 7.32.0). The decimal value needs
|
| 24 |
+
to be provided using a dot (.) as decimal separator - not the local version
|
| 25 |
+
even if it might be using another separator.
|
| 26 |
+
|
| 27 |
+
The connection phase is considered complete when the DNS lookup and requested
|
| 28 |
+
TCP, TLS or QUIC handshakes are done.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/connect-to.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: connect-to
|
| 5 |
+
Arg: <HOST1:PORT1:HOST2:PORT2>
|
| 6 |
+
Help: Connect to host2 instead of host1
|
| 7 |
+
Added: 7.49.0
|
| 8 |
+
Category: connection dns
|
| 9 |
+
Multi: append
|
| 10 |
+
See-also:
|
| 11 |
+
- resolve
|
| 12 |
+
- header
|
| 13 |
+
Example:
|
| 14 |
+
- --connect-to example.com:443:example.net:8443 $URL
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# `--connect-to`
|
| 18 |
+
|
| 19 |
+
For a request intended for the `HOST1:PORT1` pair, connect to `HOST2:PORT2`
|
| 20 |
+
instead. This option is only used to establish the network connection. It does
|
| 21 |
+
NOT affect the hostname/port number that is used for TLS/SSL (e.g. SNI,
|
| 22 |
+
certificate verification) or for the application protocols.
|
| 23 |
+
|
| 24 |
+
`HOST1` and `PORT1` may be empty strings, meaning any host or any port number.
|
| 25 |
+
`HOST2` and `PORT2` may also be empty strings, meaning use the request's
|
| 26 |
+
original hostname and port number.
|
| 27 |
+
|
| 28 |
+
A hostname specified to this option is compared as a string, so it needs to
|
| 29 |
+
match the name used in request URL. It can be either numerical such as
|
| 30 |
+
`127.0.0.1` or the full host name such as `example.org`.
|
| 31 |
+
|
| 32 |
+
Example: redirect connects from the example.com hostname to 127.0.0.1
|
| 33 |
+
independently of port number:
|
| 34 |
+
|
| 35 |
+
curl --connect-to example.com::127.0.0.1: https://example.com/
|
| 36 |
+
|
| 37 |
+
Example: redirect connects from all hostnames to 127.0.0.1 independently of
|
| 38 |
+
port number:
|
| 39 |
+
|
| 40 |
+
curl --connect-to ::127.0.0.1: http://example.com/
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/continue-at.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Short: C
|
| 5 |
+
Long: continue-at
|
| 6 |
+
Arg: <offset>
|
| 7 |
+
Help: Resumed transfer offset
|
| 8 |
+
Category: connection
|
| 9 |
+
Added: 4.8
|
| 10 |
+
Multi: single
|
| 11 |
+
See-also:
|
| 12 |
+
- range
|
| 13 |
+
Example:
|
| 14 |
+
- -C - $URL
|
| 15 |
+
- -C 400 $URL
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# `--continue-at`
|
| 19 |
+
|
| 20 |
+
Resume a previous transfer from the given byte offset. The given offset is the
|
| 21 |
+
exact number of bytes that are skipped, counting from the beginning of the
|
| 22 |
+
source file before it is transferred to the destination. If used with uploads,
|
| 23 |
+
the FTP server command SIZE is not used by curl.
|
| 24 |
+
|
| 25 |
+
Use "-C -" to instruct curl to automatically find out where/how to resume the
|
| 26 |
+
transfer. It then uses the given output/input files to figure that out.
|
| 27 |
+
|
| 28 |
+
This command line option is mutually exclusive with --range: you can only use
|
| 29 |
+
one of them for a single transfer.
|
| 30 |
+
|
| 31 |
+
The --no-clobber and --remove-on-error options cannot be used together with
|
| 32 |
+
--continue-at.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cookie-jar.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Short: c
|
| 5 |
+
Long: cookie-jar
|
| 6 |
+
Arg: <filename>
|
| 7 |
+
Protocols: HTTP
|
| 8 |
+
Help: Save cookies to <filename> after operation
|
| 9 |
+
Category: http
|
| 10 |
+
Added: 7.9
|
| 11 |
+
Multi: single
|
| 12 |
+
See-also:
|
| 13 |
+
- cookie
|
| 14 |
+
- junk-session-cookies
|
| 15 |
+
Example:
|
| 16 |
+
- -c store-here.txt $URL
|
| 17 |
+
- -c store-here.txt -b read-these $URL
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# `--cookie-jar`
|
| 21 |
+
|
| 22 |
+
Specify to which file you want curl to write all cookies after a completed
|
| 23 |
+
operation. Curl writes all cookies from its in-memory cookie storage to the
|
| 24 |
+
given file at the end of operations. Even if no cookies are known, a file is
|
| 25 |
+
created so that it removes any formerly existing cookies from the file. The
|
| 26 |
+
file uses the Netscape cookie file format. If you set the filename to a single
|
| 27 |
+
minus, "-", the cookies are written to stdout.
|
| 28 |
+
|
| 29 |
+
The file specified with --cookie-jar is only used for output. No cookies are
|
| 30 |
+
read from the file. To read cookies, use the --cookie option. Both options
|
| 31 |
+
can specify the same file.
|
| 32 |
+
|
| 33 |
+
This command line option activates the cookie engine that makes curl record
|
| 34 |
+
and use cookies. The --cookie option also activates it.
|
| 35 |
+
|
| 36 |
+
If the cookie jar cannot be created or written to, the whole curl operation
|
| 37 |
+
does not fail or even report an error clearly. Using --verbose gets a warning
|
| 38 |
+
displayed, but that is the only visible feedback you get about this possibly
|
| 39 |
+
lethal situation.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/cookie.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Short: b
|
| 5 |
+
Long: cookie
|
| 6 |
+
Arg: <data|filename>
|
| 7 |
+
Protocols: HTTP
|
| 8 |
+
Help: Send cookies from string/load from file
|
| 9 |
+
Category: http
|
| 10 |
+
Added: 4.9
|
| 11 |
+
Multi: append
|
| 12 |
+
See-also:
|
| 13 |
+
- cookie-jar
|
| 14 |
+
- junk-session-cookies
|
| 15 |
+
Example:
|
| 16 |
+
- -b "" $URL
|
| 17 |
+
- -b cookiefile $URL
|
| 18 |
+
- -b cookiefile -c cookiefile $URL
|
| 19 |
+
- -b name=Jane $URL
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# `--cookie`
|
| 23 |
+
|
| 24 |
+
This option has two slightly separate cookie sending functions.
|
| 25 |
+
|
| 26 |
+
Either: pass the exact data to send to the HTTP server in the Cookie header.
|
| 27 |
+
It is supposedly data previously received from the server in a `Set-Cookie:`
|
| 28 |
+
line. The data should be in the format `NAME1=VALUE1; NAME2=VALUE2`. When
|
| 29 |
+
given a set of specific cookies, curl populates its cookie header with this
|
| 30 |
+
content explicitly in all outgoing request(s). If multiple requests are done
|
| 31 |
+
due to authentication, followed redirects or similar, they all get this cookie
|
| 32 |
+
header passed on.
|
| 33 |
+
|
| 34 |
+
Or: If no `=` symbol is used in the argument, it is instead treated as a
|
| 35 |
+
filename to read previously stored cookie from. This option also activates the
|
| 36 |
+
cookie engine which makes curl record incoming cookies, which may be handy if
|
| 37 |
+
you are using this in combination with the --location option or do multiple
|
| 38 |
+
URL transfers on the same invoke.
|
| 39 |
+
|
| 40 |
+
If the filename is a single minus ("-"), curl reads the contents from stdin.
|
| 41 |
+
If the filename is an empty string ("") and is the only cookie input, curl
|
| 42 |
+
activates the cookie engine without any cookies.
|
| 43 |
+
|
| 44 |
+
The file format of the file to read cookies from should be plain HTTP headers
|
| 45 |
+
(Set-Cookie style) or the Netscape/Mozilla cookie file format.
|
| 46 |
+
|
| 47 |
+
The file specified with --cookie is only used as input. No cookies are written
|
| 48 |
+
to that file. To store cookies, use the --cookie-jar option.
|
| 49 |
+
|
| 50 |
+
If you use the Set-Cookie file format and do not specify a domain then the
|
| 51 |
+
cookie is not sent since the domain never matches. To address this, set a
|
| 52 |
+
domain in Set-Cookie line (doing that includes subdomains) or preferably: use
|
| 53 |
+
the Netscape format.
|
| 54 |
+
|
| 55 |
+
Users often want to both read cookies from a file and write updated cookies
|
| 56 |
+
back to a file, so using both --cookie and --cookie-jar in the same command
|
| 57 |
+
line is common.
|
| 58 |
+
|
| 59 |
+
If curl is built with PSL (**Public Suffix List**) support, it detects and
|
| 60 |
+
discards cookies that are specified for such suffix domains that should not be
|
| 61 |
+
allowed to have cookies. If curl is *not* built with PSL support, it has no
|
| 62 |
+
ability to stop super cookies.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/create-dirs.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: create-dirs
|
| 5 |
+
Help: Create necessary local directory hierarchy
|
| 6 |
+
Category: output
|
| 7 |
+
Added: 7.10.3
|
| 8 |
+
Multi: boolean
|
| 9 |
+
See-also:
|
| 10 |
+
- ftp-create-dirs
|
| 11 |
+
- output-dir
|
| 12 |
+
Example:
|
| 13 |
+
- --create-dirs --output local/dir/file $URL
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# `--create-dirs`
|
| 17 |
+
|
| 18 |
+
When used in conjunction with the --output option, curl creates the necessary
|
| 19 |
+
local directory hierarchy as needed. This option creates the directories
|
| 20 |
+
mentioned with the --output option combined with the path possibly set with
|
| 21 |
+
--output-dir. If the combined output filename uses no directory, or if the
|
| 22 |
+
directories it mentions already exist, no directories are created.
|
| 23 |
+
|
| 24 |
+
Created directories are made with mode 0750 on Unix-style file systems.
|
| 25 |
+
|
| 26 |
+
To create remote directories when using FTP or SFTP, try --ftp-create-dirs.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/create-file-mode.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: create-file-mode
|
| 5 |
+
Arg: <mode>
|
| 6 |
+
Help: File mode for created files
|
| 7 |
+
Protocols: SFTP SCP FILE
|
| 8 |
+
Category: sftp scp file upload
|
| 9 |
+
Added: 7.75.0
|
| 10 |
+
Multi: single
|
| 11 |
+
See-also:
|
| 12 |
+
- ftp-create-dirs
|
| 13 |
+
Example:
|
| 14 |
+
- --create-file-mode 0777 -T localfile sftp://example.com/new
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# `--create-file-mode`
|
| 18 |
+
|
| 19 |
+
When curl is used to create files remotely using one of the supported
|
| 20 |
+
protocols, this option allows the user to set which 'mode' to set on the file
|
| 21 |
+
at creation time, instead of the default 0644.
|
| 22 |
+
|
| 23 |
+
This option takes an octal number as argument.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/crlf.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: crlf
|
| 5 |
+
Help: Convert LF to CRLF in upload
|
| 6 |
+
Protocols: FTP SMTP
|
| 7 |
+
Category: ftp smtp
|
| 8 |
+
Added: 5.7
|
| 9 |
+
Multi: boolean
|
| 10 |
+
See-also:
|
| 11 |
+
- use-ascii
|
| 12 |
+
Example:
|
| 13 |
+
- --crlf -T file ftp://example.com/
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# `--crlf`
|
| 17 |
+
|
| 18 |
+
Convert line feeds to carriage return plus line feeds in upload. Useful for
|
| 19 |
+
**MVS (OS/390)**.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/crlfile.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: crlfile
|
| 5 |
+
Arg: <file>
|
| 6 |
+
Protocols: TLS
|
| 7 |
+
Help: Certificate Revocation list
|
| 8 |
+
Added: 7.19.7
|
| 9 |
+
Category: tls
|
| 10 |
+
Multi: single
|
| 11 |
+
See-also:
|
| 12 |
+
- cacert
|
| 13 |
+
- capath
|
| 14 |
+
Example:
|
| 15 |
+
- --crlfile rejects.txt $URL
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# `--crlfile`
|
| 19 |
+
|
| 20 |
+
Provide a file using PEM format with a Certificate Revocation List that may
|
| 21 |
+
specify peer certificates that are to be considered revoked.
|
local-test-curl-delta-01/afc-curl/docs/cmdline-opts/curves.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
| 3 |
+
SPDX-License-Identifier: curl
|
| 4 |
+
Long: curves
|
| 5 |
+
Arg: <list>
|
| 6 |
+
Help: (EC) TLS key exchange algorithms to request
|
| 7 |
+
Protocols: TLS
|
| 8 |
+
Added: 7.73.0
|
| 9 |
+
Category: tls
|
| 10 |
+
Multi: single
|
| 11 |
+
See-also:
|
| 12 |
+
- ciphers
|
| 13 |
+
Example:
|
| 14 |
+
- --curves X25519 $URL
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# `--curves`
|
| 18 |
+
|
| 19 |
+
Set specific curves to use during SSL session establishment according to RFC
|
| 20 |
+
8422, 5.1. Multiple algorithms can be provided by separating them with `:`
|
| 21 |
+
(e.g. `X25519:P-521`). The parameter is available identically in the OpenSSL
|
| 22 |
+
`s_client` and `s_server` utilities.
|
| 23 |
+
|
| 24 |
+
--curves allows a OpenSSL powered curl to make SSL-connections with exactly
|
| 25 |
+
the (EC) curve requested by the client, avoiding nontransparent client/server
|
| 26 |
+
negotiations.
|
| 27 |
+
|
| 28 |
+
If this option is set, the default curves list built into OpenSSL are ignored.
|