1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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.
This commit is contained in:
Daniel Stenberg 2005-11-14 00:18:12 +00:00
parent bac17ab7d8
commit d52ed3fff2
2 changed files with 12 additions and 1 deletions

View File

@ -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) Daniel (13 November 2005)
- Debian bug report 338681 by Jan Kunder: make curl better detect and report - Debian bug report 338681 by Jan Kunder: make curl better detect and report
bad limit-rate units: bad limit-rate units:

View File

@ -2526,10 +2526,12 @@ static CURLcode ftp_statemach_act(struct connectdata *conn)
NBFTPSENDF(conn, "MKD %s", ftp->dirs[ftp->count1 - 1]); NBFTPSENDF(conn, "MKD %s", ftp->dirs[ftp->count1 - 1]);
state(conn, FTP_MKD); state(conn, FTP_MKD);
} }
else else {
/* return failure */ /* return failure */
failf(data, "Server denied you to change to the given directory");
return CURLE_FTP_ACCESS_DENIED; return CURLE_FTP_ACCESS_DENIED;
} }
}
else { else {
/* success */ /* success */
ftp->count2=0; ftp->count2=0;