From 0e25cf41c4360d98dcbf0410902cc563c66d42ad Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Fri, 14 Sep 2001 12:18:46 +0000
Subject: [PATCH] modified error message when PWD fails

---
 lib/ftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ftp.c b/lib/ftp.c
index 0f9aa3a1d2..a8ae4cb402 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -632,7 +632,7 @@ CURLcode _ftp_cwd(struct connectdata *conn, char *path)
     return CURLE_OPERATION_TIMEOUTED;
 
   if (ftpcode != 250) {
-    failf(conn->data, "Couldn't change back to directory %s", path);
+    failf(conn->data, "Couldn't cd to %s", path);
     return CURLE_FTP_ACCESS_DENIED;
   }
 
-- 
GitLab