Suppress the messages from the server after login (ftpVerbose(ftp,0)). Errors

are already correctly reported.
This commit is contained in:
jmz 1996-08-04 00:35:39 +00:00
parent f898bbdd80
commit 1e79f06390

View File

@ -24,7 +24,7 @@
* SUCH DAMAGE.
*/
/* $Id: main.c,v 1.10 1996/07/18 00:08:58 jkh Exp $ */
/* $Id: main.c,v 1.11 1996/08/03 13:14:47 jkh Exp $ */
#include <stdlib.h>
#include <stdio.h>
@ -226,6 +226,8 @@ ftpget ()
if (!ftp)
err(1, "Couldn't open FTP connection or login to %s.", host);
ftpVerbose (ftp, 0);
/* Time to set our defaults */
ftpBinary (ftp);
ftpPassive (ftp, passive_mode);