mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:33:31 +03:00
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
This commit is contained in:
parent
e1a4647a42
commit
a7696c7343
10 changed files with 49 additions and 4 deletions
|
|
@ -37,6 +37,7 @@ curl file category --help
|
|||
<stdout mode="text">
|
||||
Usage: curl [options...] <url>
|
||||
file: FILE protocol options
|
||||
--create-file-mode File mode for created files
|
||||
-I, --head Show document info only
|
||||
-r, --range <range> Retrieve only the bytes within RANGE
|
||||
</stdout>
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ curl file category --help with lower/upper mix
|
|||
<stdout mode="text">
|
||||
Usage: curl [options...] <url>
|
||||
file: FILE protocol options
|
||||
--create-file-mode File mode for created files
|
||||
-I, --head Show document info only
|
||||
-r, --range <range> Retrieve only the bytes within RANGE
|
||||
</stdout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue