blob: 7cf3e1c7904daac45743e1a93788c505d4bece0b [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: ftp-create-dirs
4Protocols: FTP SFTP
5Help: Create the remote dirs if not present
6See-also: create-dirs
7Category: ftp sftp curl
8Example: --ftp-create-dirs -T file ftp://example.com/remote/path/file
9Added: 7.10.7
10Multi: boolean
11---
12When an FTP or SFTP URL/operation uses a path that does not currently exist on
13the server, the standard behavior of curl is to fail. Using this option, curl
14will instead attempt to create missing directories.