資源簡介
ftp的源碼,客戶端和服務器端都有

代碼片段和文件信息
//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//
#include?“stdafx.h“
#include?“xjmFtp.h“
#include?“MainFrm.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMainframe
IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction
CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here
}
CMainframe::~CMainframe()
{
}
int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;
if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}
if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}
//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
return?0;
}
BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics
#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}
void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}
#endif?//_DEBUG
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????54957??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\FTPclient.obj
?????文件??????????0??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\FTPclient.sbr
?????文件????3679232??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\GFTPTest.bsc
?????文件?????127102??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\GFTPTest.exe
?????文件?????259912??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\GFTPTest.ilk
?????文件??????15964??2005-07-08?11:10??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\GFTPTest.obj
?????文件????6923636??2005-07-08?11:10??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\GFTPTest.pch
?????文件?????320512??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\GFTPTest.pdb
?????文件???????4592??2005-07-08?11:10??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\GFTPTest.res
?????文件??????????0??2005-07-08?11:10??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\GFTPTest.sbr
?????文件??????33300??2005-07-08?11:10??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\GFTPTestDlg.obj
?????文件??????????0??2005-07-08?11:10??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\GFTPTestDlg.sbr
?????文件?????107119??2005-07-08?11:10??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\StdAfx.obj
?????文件????1381906??2005-07-08?11:10??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\StdAfx.sbr
?????文件?????205824??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\vc60.idb
?????文件?????364544??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug\vc60.pdb
?????目錄??????????0??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\Debug
?????文件??????11967??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\FTPclient.cpp
????.......??????1301??2002-07-26?14:52??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\FTPclient.h
????.......??????4372??1999-04-09?18:37??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.001
????.......?????37656??1999-04-10?14:02??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.aps
????.......??????2662??1999-04-10?14:14??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.clw
????.......??????2194??1999-03-24?22:59??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.cpp
????.......??????4312??2002-07-26?15:41??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.dsp
????.......???????541??2002-07-26?12:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.dsw
????.......??????1354??1999-03-23?12:45??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.h
?????文件??????66560??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.ncb
?????文件??????54784??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.opt
?????文件????????930??2005-07-08?11:11??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.plg
????.......??????8287??1999-04-10?14:02??cn700_vc7103453453624\底層實現ftp客戶端\底層實現ftp客戶端\GFTPTest.rc
............此處省略451個文件信息
- 上一篇:DSP語音識別教程+源代碼
- 下一篇:全國邊界.kml
評論
共有 條評論