summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/ftp-create-dirs.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/ftp-create-dirs.d')
-rw-r--r--docs/cmdline-opts/ftp-create-dirs.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/cmdline-opts/ftp-create-dirs.d b/docs/cmdline-opts/ftp-create-dirs.d
new file mode 100644
index 000000000..ede57100d
--- /dev/null
+++ b/docs/cmdline-opts/ftp-create-dirs.d
@@ -0,0 +1,8 @@
+Long: ftp-create-dirs
+Protocols: FTP SFTP
+Help: Create the remote dirs if not present
+See-also: create-dirs
+---
+When an FTP or SFTP URL/operation uses a path that doesn't currently exist on
+the server, the standard behavior of curl is to fail. Using this option, curl
+will instead attempt to create missing directories.