diff -u -r curl-7.10.6.orig/lib/ftp.c curl-7.10.6/lib/ftp.c
--- curl-7.10.6.orig/lib/ftp.c	2003-07-28 10:50:02.000000000 +0200
+++ curl-7.10.6/lib/ftp.c	2003-08-05 14:03:06.000000000 +0200
@@ -379,6 +379,8 @@
   if(ftpcode)
     *ftpcode=code; /* return the initial number like this */
 
+  conn->data->info.httpcode=code;  
+    
   return result;
 }
 

