Re: Disabling FTP 221 messages

Bob Luckin <[email protected]> Mon, 2 Jul 2007 14:21:56 -0500
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <[email protected]>
John,

You're getting this message because the source was compiled with the
TRANSFER_COUNT macro set.  This turns on all the code which counts the
bytes transferred for the session as a whole, including the messages which
are output when you log off.

If you rebuild the server with this macro turned off, the messages should
go away.  There's no way of supplying a command or switch at run time to
turn this off.

Cheers, Bob

On Mon, Jul 02, 2007 at 02:38:51PM +0100, [email protected] wrote:
> 
> Hi,
> 
> I am using the following version of wu-ftpd: -
> 
> FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_34306)
> 
> I want to know if there is anyway that I can supress the multiple FTP 221 messages that are generetad when I close the connection from my ftp client: - 
> 
> 221-Total traffic for this session was 241 bytes in 0 transfers
> 221-Thank you for using the FTP service on sjh00614
> 221 Goodbye
> 
> All I want to generate is the single 221 Goodbye message.
> 
> Thanks in anticipation.
> 
> John Crainie

-- 
Bob Luckin      [email protected]      "Coder, adapt; FTP Ada, redo C"