04a9bc
diff -up netkit-ftp-0.17/ftp/cmds.c.case netkit-ftp-0.17/ftp/cmds.c
04a9bc
--- netkit-ftp-0.17/ftp/cmds.c.case	2008-04-23 14:52:59.000000000 +0200
04a9bc
+++ netkit-ftp-0.17/ftp/cmds.c	2008-04-23 14:58:07.000000000 +0200
04a9bc
@@ -831,8 +831,11 @@ mget(int argc, char **argv)
04a9bc
 						tp++;
04a9bc
 						tp2++;
04a9bc
 					}
04a9bc
+					tp = tmpbuf;
04a9bc
+				}
04a9bc
+				else {
04a9bc
+					tp = cp;
04a9bc
 				}
04a9bc
-				tp = tmpbuf;
04a9bc
 			}
04a9bc
 			if (ntflag) {
04a9bc
 				tp = dotrans(tp);