2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 06:44:58 +08:00
|
|
|
Long: ftp-create-dirs
|
|
|
|
Protocols: FTP SFTP
|
|
|
|
Help: Create the remote dirs if not present
|
|
|
|
See-also: create-dirs
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: ftp sftp curl
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --ftp-create-dirs -T file ftp://example.com/remote/path/file
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.10.7
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
2021-10-31 23:34:44 +08:00
|
|
|
When an FTP or SFTP URL/operation uses a path that does not currently exist on
|
2016-11-16 06:44:58 +08:00
|
|
|
the server, the standard behavior of curl is to fail. Using this option, curl
|
|
|
|
will instead attempt to create missing directories.
|