0c3ef1e
--- netkit-ftp-0.17/ftp/ftp.c.runique_mget	2004-12-07 12:05:49.360133092 +0100
0c3ef1e
+++ netkit-ftp-0.17/ftp/ftp.c	2004-12-07 12:06:48.480883902 +0100
0c3ef1e
@@ -923,7 +923,9 @@
0c3ef1e
 				return;
0c3ef1e
 			}
0c3ef1e
 		}
0c3ef1e
-		else if (runique && (local = gunique(local)) == NULL) {
0c3ef1e
+		else if (runique && (strcmp(cmd, "NLST") != 0) && 
0c3ef1e
+			 (local = gunique(local)) == NULL)
0c3ef1e
+		{
0c3ef1e
 			(void) signal(SIGINT, oldintr);
0c3ef1e
 			code = -1;
0c3ef1e
 			return;