From d52ed3fff2e138d2c4d455dffe5888d70441ffb3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 14 Nov 2005 00:18:12 +0000 Subject: [PATCH] Jan Kunder's debian bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338680 identified a weird error message for when you try to upload a file and the requested directory doesn't exist on the target server. --- CHANGES | 9 +++++++++ lib/ftp.c | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index aee71cdcf..a77ca718f 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,15 @@ +Daniel (14 November 2005) +- Jan Kunder's debian bug report + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338680 identified a weird + error message for when you try to upload a file and the requested directory + doesn't exist on the target server. + +- Yang Tse fixed compiler warnings in lib/ssluse.c with OpenSSL 0.9.8 and in + lib/memdebug.h that showed up in his msvc builds. + Daniel (13 November 2005) - Debian bug report 338681 by Jan Kunder: make curl better detect and report bad limit-rate units: diff --git a/lib/ftp.c b/lib/ftp.c index a416dbe9a..fe86ba392 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -2526,9 +2526,11 @@ static CURLcode ftp_statemach_act(struct connectdata *conn) NBFTPSENDF(conn, "MKD %s", ftp->dirs[ftp->count1 - 1]); state(conn, FTP_MKD); } - else + else { /* return failure */ + failf(data, "Server denied you to change to the given directory"); return CURLE_FTP_ACCESS_DENIED; + } } else { /* success */