diff options
author | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2009-08-24 12:57:25 +0000 |
---|---|---|
committer | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2009-08-24 12:57:25 +0000 |
commit | b0b2824b58df4dead3fdc7fcb48c3c95328ae2fc (patch) | |
tree | 54cefbf9fe6414af640d995eeb41f9a4c75d9b83 /lib/urldata.h | |
parent | 0cb6f3053ffc784eb7452c2311b536f4f798e946 (diff) |
- Introduced a SYST-based test to properly set-up name format when dealing with the OS/400 FTP server.
- Fixed an ftp_readresp() bug preventing detection of failing control socket and causing FTP client to loop forever.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 1ee6637d2..bc2eff960 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -362,6 +362,8 @@ typedef enum { FTP_PROT, FTP_CCC, FTP_PWD, + FTP_SYST, + FTP_NAMEFMT, FTP_QUOTE, /* waiting for a response to a command sent in a quote list */ FTP_RETR_PREQUOTE, FTP_STOR_PREQUOTE, @@ -458,6 +460,7 @@ struct ftp_conn { struct timeval response; /* set to Curl_tvnow() when a command has been sent off, used to time-out response reading */ ftpstate state; /* always use ftp.c:state() to change state! */ + char * server_os; /* The target server operating system. */ }; /**************************************************************************** |