mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
2bc1d775f5
- they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
18 lines
584 B
Makefile
18 lines
584 B
Makefile
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: create-file-mode
|
|
Arg: <mode>
|
|
Help: File mode for created files
|
|
Protocols: SFTP SCP FILE
|
|
Category: sftp scp file upload
|
|
See-also: ftp-create-dirs
|
|
Added: 7.75.0
|
|
Example: --create-file-mode 0777 -T localfile sftp://example.com/new
|
|
Multi: single
|
|
---
|
|
When curl is used to create files remotely using one of the supported
|
|
protocols, this option allows the user to set which 'mode' to set on the file
|
|
at creation time, instead of the default 0644.
|
|
|
|
This option takes an octal number as argument.
|