ftp-create-dirs.md (560B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: ftp-create-dirs 5 Protocols: FTP SFTP 6 Help: Create the remote dirs if not present 7 Category: ftp sftp 8 Added: 7.10.7 9 Multi: boolean 10 See-also: 11 - create-dirs 12 Example: 13 - --ftp-create-dirs -T file ftp://example.com/remote/path/file 14 --- 15 16 # `--ftp-create-dirs` 17 18 When an FTP or SFTP URL/operation uses a path that does not currently exist on 19 the server, the standard behavior of curl is to fail. Using this option, curl 20 instead attempts to create missing directories.