]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: add --create-file-mode [mode]
authorDaniel Stenberg <daniel@haxx.se>
Sun, 20 Dec 2020 17:44:20 +0000 (18:44 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 21 Dec 2020 09:52:41 +0000 (10:52 +0100)
commita7696c73436f643d5d31ce0c3d48d282c79f4b5d
treec01a633a45e06f199eba2cd295b60725af7800c0
parente1a4647a42b901d88f9629ce98ff56960e342a74
curl: add --create-file-mode [mode]

This option sets the (octal) mode to use for the remote file when one is
created, using the SFTP, SCP or FILE protocols. When not set, the
default is 0644.

Closes #6244
docs/cmdline-opts/Makefile.inc
docs/cmdline-opts/create-file-mode.d [new file with mode: 0644]
docs/options-in-versions
src/tool_cfgable.h
src/tool_getparam.c
src/tool_help.c
src/tool_paramhlp.c
src/tool_paramhlp.h
tests/data/test1463
tests/data/test1464