Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 560 Bytes

ftp-create-dirs.md

File metadata and controls

20 lines (18 loc) · 560 Bytes
c SPDX-License-Identifier Long Protocols Help Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <[email protected]>, et al.
curl
ftp-create-dirs
FTP SFTP
Create the remote dirs if not present
ftp sftp
7.10.7
boolean
create-dirs
--ftp-create-dirs -T file ftp://example.com/remote/path/file

--ftp-create-dirs

When an FTP or SFTP URL/operation uses a path that does not currently exist on the server, the standard behavior of curl is to fail. Using this option, curl instead attempts to create missing directories.