30a31 > int lines_wait = 0; 328a330 > " -l read lines to \"220 \", by arbon(arbon@elxsi.de)\n" 353c355 < while ((c = getopt (argc, argv, "t:ch:u:p:s:rv")) != EOF) { --- > while ((c = getopt (argc, argv, "t:ch:u:p:s:l:rv")) != EOF) { 391a394,396 > case 'l': > lines_wait = atoi (optarg); > break; 1290a1296 > int i; 1298,1299c1304,1308 < if (net_rlinet (ftpsock, resp, sizeof (resp) - 1, 20) <= 0) < goto flerr; --- > > for (i = 0; i <= lines_wait; i++) { > if (net_rlinet (ftpsock, resp, sizeof (resp) - 1, 20) <= 0) > goto flerr; > }