summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/ftp-create-dirs.d
blob: ede57100d1e0f5164102c9f94296c871ebcd62cd (plain)
1
2
3
4
5
6
7
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.