113498266Sopenharmony_ci--- 213498266Sopenharmony_cic: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 313498266Sopenharmony_ciSPDX-License-Identifier: curl 413498266Sopenharmony_ciLong: create-file-mode 513498266Sopenharmony_ciArg: <mode> 613498266Sopenharmony_ciHelp: File mode for created files 713498266Sopenharmony_ciProtocols: SFTP SCP FILE 813498266Sopenharmony_ciCategory: sftp scp file upload 913498266Sopenharmony_ciAdded: 7.75.0 1013498266Sopenharmony_ciMulti: single 1113498266Sopenharmony_ciSee-also: 1213498266Sopenharmony_ci - ftp-create-dirs 1313498266Sopenharmony_ciExample: 1413498266Sopenharmony_ci - --create-file-mode 0777 -T localfile sftp://example.com/new 1513498266Sopenharmony_ci--- 1613498266Sopenharmony_ci 1713498266Sopenharmony_ci# `--create-file-mode` 1813498266Sopenharmony_ci 1913498266Sopenharmony_ciWhen curl is used to create files remotely using one of the supported 2013498266Sopenharmony_ciprotocols, this option allows the user to set which 'mode' to set on the file 2113498266Sopenharmony_ciat creation time, instead of the default 0644. 2213498266Sopenharmony_ci 2313498266Sopenharmony_ciThis option takes an octal number as argument. 24