FtpLog.cpp
资源名称:warftpd.zip [点击查看]
上传用户:surprise9
上传日期:2007-01-04
资源大小:426k
文件大小:1k
源码类别:
Ftp客户端
开发平台:
Visual C++
- // This source code, executables and programs containing source code or
- // binaries or proprietetary technology from the War Software Series are
- // NOT alloed used, viewed or tested by any governmental agencies in
- // any countries. This includes the government, departments, police,
- // military etc.
- // ---
- // This file is intended for use with Tab space = 2
- // Created and maintained in MSVC Developer Studio
- // ---
- // NAME : FtpLog.cpp
- // PURPOSE : FTP Daemon log module
- // PROGRAM : War FTP Daemon
- // DATE : Sept. 21 1996
- // AUTHOR : Jarle Aase
- // ---
- // NOTE : All class names start with CFTPD
- // ---
- // REVISION HISTORY
- //
- #include "stdafx.h"
- #include "WarFTPDaemon.h"
- #include "..IncludeFTPDaemon.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // class CFTPDLog
- CFTPDLog::CFTPDLog()
- {
- Create(NULL,".\FtpDaemon.ini","Log", COPTION_GROUP_FTPLOG);
- LoadAll();
- }
- CFTPDLog::~CFTPDLog()
- {
- Flush(TRUE);
- SaveAll();
- }