When using a bad path over FTP, as in when libcurl couldn't CWD into all
authorDaniel Stenberg <daniel@haxx.se>
Tue, 10 Jan 2006 23:03:22 +0000 (23:03 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 10 Jan 2006 23:03:22 +0000 (23:03 +0000)
commit4431338691ff5167e453b1407eeeefcc0a515dbe
tree964b7bf589684ca0f61101e4a519c83766ee8de1
parentbda1e9aeab019d003036a3ec24193605bc191b3a
When using a bad path over FTP, as in when libcurl couldn't CWD into all
given subdirs, libcurl would still "remember" the full path as if it is the
current directory libcurl is in so that the next curl_easy_perform() would
get really confused if it tried the same path again - as it would not issue
any CWD commands at all, assuming it is already in the "proper" dir.

Starting now, a failed CWD command sets a flag that prevents the path to be
"remembered" after returning.
CHANGES
RELEASE-NOTES
lib/ftp.c
lib/urldata.h