2
0

ftp-create-dirs.d 533 B

1234567891011121314
  1. c: Copyright (C) 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.