mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
11 lines
414 B
D
11 lines
414 B
D
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
|
|
---
|
|
When an FTP or SFTP URL/operation uses a path that doesn't currently exist on
|
|
the server, the standard behavior of curl is to fail. Using this option, curl
|
|
will instead attempt to create missing directories.
|