]> sjero.net Git - wget/commitdiff
[svn] Support Windows-2000 ftp servers. By Gisle Vanem.
authorhniksic <devnull@localhost>
Sat, 8 Nov 2003 19:20:29 +0000 (11:20 -0800)
committerhniksic <devnull@localhost>
Sat, 8 Nov 2003 19:20:29 +0000 (11:20 -0800)
src/ChangeLog
src/ftp-basic.c

index 8bd9f243cf3b203b952bfda3b6a4a605516c5d1a..2c4494a19ece49367b8d4dd0b75302eac9e9a398 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-08  Gisle Vanem  <giva@bgnett.no>
+
+       * ftp-basic.c: Support Windows-2000 ftp servers. Win-2000 *is*
+       Win-NT 5.0 so calling it ST_WINNT is okay I guess.
+
 2003-11-08  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * progress.c (update_speed_ring): Clear the speed ring when the
index 5c60ccfb116741faee82cfe341a0e240ef0b7cc0..350d31035d8a06b4a49c0872e3085806b4d9ccc7 100644 (file)
@@ -1090,7 +1090,8 @@ ftp_syst (struct rbuf *rbuf, enum stype *server_type)
     *server_type = ST_VMS;
   else if (!strcasecmp (request, "UNIX"))
     *server_type = ST_UNIX;
-  else if (!strcasecmp (request, "WINDOWS_NT"))
+  else if (!strcasecmp (request, "WINDOWS_NT")
+          || !strcasecmp (request, "WINDOWS2000"))
     *server_type = ST_WINNT;
   else if (!strcasecmp (request, "MACOS"))
     *server_type = ST_MACOS;