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.d1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/cmdline-opts/create-file-mode.d b/docs/cmdline-opts/create-file-mode.d
index 275fc6c21..429b5ee33 100644
--- a/docs/cmdline-opts/create-file-mode.d
+++ b/docs/cmdline-opts/create-file-mode.d
@@ -5,6 +5,7 @@ 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
---
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