資源簡介
使用MFTP協(xié)議完成文件傳輸,用了就知道了。

代碼片段和文件信息
//?ClientMFTP.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“ClientMFTP.h“
#include?“ClientMFTPDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CClientMFTPApp
BEGIN_MESSAGE_MAP(CClientMFTPApp?CWinApp)
//{{AFX_MSG_MAP(CClientMFTPApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CClientMFTPApp?construction
CClientMFTPApp::CClientMFTPApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CClientMFTPApp?object
CClientMFTPApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CClientMFTPApp?initialization
BOOL?CClientMFTPApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CClientMFTPDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????3062??2007-05-28?14:49??MFTP\code\include\MFTPDef.h
?????目錄??????????0??2007-05-23?08:52??MFTP\code\include
?????文件???????9265??2007-05-28?16:37??MFTP\code\ServerMFTP\MFTPServer.cpp
?????文件???????1743??2007-05-23?11:17??MFTP\code\ServerMFTP\ServerMFTPDlg.h
?????文件??????48640??2007-05-28?16:54??MFTP\code\ServerMFTP\ServerMFTP.opt
?????文件???????3651??2007-05-23?08:51??MFTP\code\ServerMFTP\ReadMe.txt
?????文件???????1368??2007-05-23?08:51??MFTP\code\ServerMFTP\ServerMFTP.h
?????文件???????2119??2007-05-23?08:51??MFTP\code\ServerMFTP\ServerMFTP.cpp
?????文件????????212??2007-05-23?08:51??MFTP\code\ServerMFTP\StdAfx.cpp
?????文件????????402??2007-05-23?08:51??MFTP\code\ServerMFTP\res\ServerMFTP.rc2
?????文件???????1078??2007-05-23?08:51??MFTP\code\ServerMFTP\res\ServerMFTP.ico
????..A.SH.??????3072??2007-05-23?09:16??MFTP\code\ServerMFTP\res\Thumbs.db
?????目錄??????????0??2007-05-23?08:51??MFTP\code\ServerMFTP\res
?????文件????????528??2007-05-23?08:51??MFTP\code\ServerMFTP\ServerMFTP.dsw
?????文件????????720??2007-05-28?16:41??MFTP\code\ServerMFTP\ServerMFTP.plg
?????文件???????1087??2007-05-23?08:58??MFTP\code\ServerMFTP\StdAfx.h
?????文件???????4431??2007-05-23?10:54??MFTP\code\ServerMFTP\ServerMFTP.dsp
?????文件???????1056??2007-05-25?15:43??MFTP\code\ServerMFTP\Resource.h
?????文件???????6005??2007-05-25?15:43??MFTP\code\ServerMFTP\ServerMFTP.rc
?????文件??????58368??2007-05-28?16:54??MFTP\code\ServerMFTP\ServerMFTP.ncb
?????文件????????932??2007-05-28?14:52??MFTP\code\ServerMFTP\MFTPServer.h
?????文件???????5741??2007-05-28?14:52??MFTP\code\ServerMFTP\ServerMFTPDlg.cpp
?????目錄??????????0??2007-05-23?08:51??MFTP\code\ServerMFTP
?????文件??????58368??2007-05-28?16:54??MFTP\code\ClientMFTP\ClientMFTP.ncb
?????文件???????6073??2007-05-23?17:46??MFTP\code\ClientMFTP\ClientMFTP.rc
?????文件???????1073??2007-05-28?14:48??MFTP\code\ClientMFTP\MFTPClient.h
?????文件??????49664??2007-05-28?16:54??MFTP\code\ClientMFTP\ClientMFTP.opt
?????文件???????3651??2007-05-23?13:32??MFTP\code\ClientMFTP\ReadMe.txt
?????文件???????1368??2007-05-23?13:32??MFTP\code\ClientMFTP\ClientMFTP.h
?????文件???????2119??2007-05-23?13:32??MFTP\code\ClientMFTP\ClientMFTP.cpp
............此處省略21個文件信息
- 上一篇:年會抽獎系統(tǒng)H5版
- 下一篇:.NET畢業(yè)實習(xí)報告
評論
共有 條評論