summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/create-file-mode.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/create-file-mode.d')
-rw-r--r--docs/cmdline-opts/create-file-mode.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/cmdline-opts/create-file-mode.d b/docs/cmdline-opts/create-file-mode.d
new file mode 100644
index 000000000..115bacf21
--- /dev/null
+++ b/docs/cmdline-opts/create-file-mode.d
@@ -0,0 +1,12 @@
+Long: create-file-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
+---
+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 options takes an octal number as argument.