Suppress the messages from the server after login (ftpVerbose(ftp,0)). Errors
are already correctly reported.
This commit is contained in:
parent
f898bbdd80
commit
1e79f06390
@ -24,7 +24,7 @@
|
|||||||
* SUCH DAMAGE.
|
* 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 <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -226,6 +226,8 @@ ftpget ()
|
|||||||
if (!ftp)
|
if (!ftp)
|
||||||
err(1, "Couldn't open FTP connection or login to %s.", host);
|
err(1, "Couldn't open FTP connection or login to %s.", host);
|
||||||
|
|
||||||
|
ftpVerbose (ftp, 0);
|
||||||
|
|
||||||
/* Time to set our defaults */
|
/* Time to set our defaults */
|
||||||
ftpBinary (ftp);
|
ftpBinary (ftp);
|
||||||
ftpPassive (ftp, passive_mode);
|
ftpPassive (ftp, passive_mode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user