create-file-mode.d 401 B

123456789101112
  1. Long: create-file-mode
  2. Help: File mode for created files
  3. Protocols: SFTP SCP FILE
  4. Category: sftp scp file upload
  5. See-also: ftp-create-dirs
  6. Added: 7.75.0
  7. ---
  8. When curl is used to create files remotely using one of the supported
  9. protocols, this option allows the user to set which 'mode' to set on the file
  10. at creation time, instead of the default 0644.
  11. This options takes an octal number as argument.