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