]> granicus.if.org Git - curl/commit
curl: make --ftp-create-dirs retry on failure
authorDaniel Stenberg <daniel@haxx.se>
Fri, 22 Apr 2016 13:25:13 +0000 (15:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 Apr 2016 13:25:13 +0000 (15:25 +0200)
commit3c1e84f5693d80931d7a58065c1b7dbaa2d8cbf6
tree13032556c9564722df9845c3807cb243c486d273
parent5d8093e7d561749b092c7cc4862d932b7e8e7061
curl: make --ftp-create-dirs retry on failure

The underlying libcurl option used for this feature is
CURLOPT_FTP_CREATE_MISSING_DIRS which has the ability to retry the dir
creation, but it was never set to do that by the command line tool.

Now it does.

Bug: https://curl.haxx.se/mail/archive-2016-04/0021.html
Reported-by: John Wanghui
Help-by: Leif W
src/tool_operate.c