mirror of
https://github.com/moparisthebest/curl
synced 2024-11-14 05:25:06 -05:00
a7696c7343
This option sets the (octal) mode to use for the remote file when one is created, using the SFTP, SCP or FILE protocols. When not set, the default is 0644. Closes #6244
46 lines
611 B
Plaintext
46 lines
611 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FILE
|
|
--help
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
file
|
|
</features>
|
|
<name>
|
|
curl file category --help
|
|
</name>
|
|
<command>
|
|
--help file
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
0
|
|
</errorcode>
|
|
<stdout mode="text">
|
|
Usage: curl [options...] <url>
|
|
file: FILE protocol options
|
|
--create-file-mode File mode for created files
|
|
-I, --head Show document info only
|
|
-r, --range <range> Retrieve only the bytes within RANGE
|
|
</stdout>
|
|
</verify>
|
|
</testcase>
|