1 Long: ftp-create-dirs 2 Protocols: FTP SFTP 3 Help: Create the remote dirs if not present 4 See-also: create-dirs 5 Category: ftp sftp curl 6 Example: --ftp-create-dirs -T file ftp://example.com/remote/path/file 7 Added: 7.10.7 8 --- 9 When an FTP or SFTP URL/operation uses a path that does not currently exist on 10 the server, the standard behavior of curl is to fail. Using this option, curl 11 will instead attempt to create missing directories. 12