ftp-create-dirs.d 531 B

12345678910111213
  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. ---
  11. When an FTP or SFTP URL/operation uses a path that does not currently exist on
  12. the server, the standard behavior of curl is to fail. Using this option, curl
  13. will instead attempt to create missing directories.