mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
ef305de95c
The keyword specifies how option works when specified multiple times: - single: the last provided value replaces the earlier ones - append: it supports being provided multiple times - boolean: on/off values - mutex: flag-like option that disable anoter flag The 'gen.pl' script then outputs the proper and unified language for each option's multi-use behavior in the generated man page. The multi: header is requires in each .d file and will cause build error if missing or set to an unknown value. Closes #9759
15 lines
546 B
D
15 lines
546 B
D
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: ftp-create-dirs
|
|
Protocols: FTP SFTP
|
|
Help: Create the remote dirs if not present
|
|
See-also: create-dirs
|
|
Category: ftp sftp curl
|
|
Example: --ftp-create-dirs -T file ftp://example.com/remote/path/file
|
|
Added: 7.10.7
|
|
Multi: boolean
|
|
---
|
|
When an FTP or SFTP URL/operation uses a path that does not currently exist on
|
|
the server, the standard behavior of curl is to fail. Using this option, curl
|
|
will instead attempt to create missing directories.
|