--ftp-create-dirs works on SFTP as well

This commit is contained in:
Dan Fandrich 2008-03-13 20:49:06 +00:00
parent f3c0afa5b8
commit b74cdee6ab

View File

@ -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. If this option is used twice, the second will override the previous use.
.IP "--ftp-create-dirs" .IP "--ftp-create-dirs"
(FTP) When an FTP or SFTP URL/operation uses a path that doesn't currently exist on (FTP/SFTP) When an FTP or SFTP URL/operation uses a path that doesn't
the server, the standard behavior of curl is to fail. Using this option, curl currently exist on the server, the standard behavior of curl is to
will instead attempt to create missing directories. 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. If this option is used twice, the second will again disable directory creation.
.IP "--ftp-method [method]" .IP "--ftp-method [method]"