From c95eff4a11575a5973fad20619ff7ca3989316db Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 15 Aug 2017 18:48:04 +0200 Subject: ftp: fix CWD when doing multicwd then nocwd on same connection Fixes #1782 Closes #1787 Reported-by: Peter Lamare --- lib/ftp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ftp.h') diff --git a/lib/ftp.h b/lib/ftp.h index 9c6c2c8de..e4aa63f17 100644 --- a/lib/ftp.h +++ b/lib/ftp.h @@ -135,6 +135,7 @@ struct ftp_conn { caching the current directory */ bool wait_data_conn; /* this is set TRUE if data connection is waited */ char *prevpath; /* conn->path from the previous transfer */ + curl_ftpfile prevmethod; /* ftp method in previous transfer */ char transfertype; /* set by ftp_transfertype for use by Curl_client_write()a and others (A/I or zero) */ int count1; /* general purpose counter for the state machine */ -- cgit v1.2.3