Skip to content

Commit

Permalink
--ftp-create-dirs works on SFTP as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dfandrich committed Mar 13, 2008
1 parent f3c0afa commit b74cdee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/curl.1
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,10 @@ has been provided, this data is sent off using the ACCT command. (Added in

If this option is used twice, the second will override the previous use.
.IP "--ftp-create-dirs"
(FTP) 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.
(FTP/SFTP) 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.

If this option is used twice, the second will again disable directory creation.
.IP "--ftp-method [method]"
Expand Down

0 comments on commit b74cdee

Please sign in to comment.