用MFC做的FTP客户端 实现上传与下载 ,支持断点续传
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 122935 2011-06-21 14:16 复件 FtpDebugFtp.exe
文件 290820 2011-06-21 14:16 复件 FtpDebugFtp.ilk
文件 16034 2011-06-05 13:48 复件 FtpDebugFtp.obj
文件 5564364 2011-06-05 12:02 复件 FtpDebugFtp.pch
文件 459776 2011-06-21 14:16 复件 FtpDebugFtp.pdb
文件 3368 2011-06-08 21:09 复件 FtpDebugFtp.res
文件 72909 2011-06-21 14:16 复件 FtpDebugFtpDlg.obj
文件 106259 2011-06-05 12:02 复件 FtpDebugStdAfx.obj
文件 222208 2011-06-21 14:16 复件 FtpDebugvc60.idb
文件 389120 2011-06-21 14:16 复件 FtpDebugvc60.pdb
文件 36788 2011-06-08 21:09 复件 FtpFtp.aps
文件 1456 2011-06-21 14:15 复件 FtpFtp.clw
文件 2115 2011-06-05 11:42 复件 FtpFtp.cpp
文件 4105 2011-06-05 11:42 复件 FtpFtp.dsp
文件 514 2011-06-05 12:07 复件 FtpFtp.dsw
文件 1291 2011-06-05 11:42 复件 FtpFtp.h
文件 66560 2011-06-21 14:17 复件 FtpFtp.ncb
文件 54784 2011-06-21 14:17 复件 FtpFtp.opt
文件 1014 2011-06-21 14:16 复件 FtpFtp.plg
文件 6061 2011-06-08 21:09 复件 FtpFtp.rc
文件 15815 2011-06-21 14:15 复件 FtpFtpDlg.cpp
文件 1855 2011-06-08 21:38 复件 FtpFtpDlg.h
文件 3525 2011-06-05 11:42 复件 FtpReadMe.txt
文件 1398 2011-06-05 13:36 复件 Ftp
esFtp.ico
文件 395 2011-06-05 11:42 复件 Ftp
esFtp.rc2
文件 1232 2011-06-08 21:09 复件 Ftp
esource.h
文件 205 2011-06-05 11:42 复件 FtpStdAfx.cpp
文件 1102 2011-06-05 11:42 复件 FtpStdAfx.h
目录 0 2011-06-21 14:16 复件 FtpDebug
目录 0 2011-06-06 17:46 复件 Ftp
es
............此处省略4个文件信息
// Ftp.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Ftp.h“
#include “FtpDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFtpApp
BEGIN_MESSAGE_MAP(CFtpApp CWinApp)
//{{AFX_MSG_MAP(CFtpApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CFtpApp construction
CFtpApp::CFtpApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CFtpApp object
CFtpApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CFtpApp initialization
BOOL CFtpApp::InitInstance()
{
if (!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return FALSE;
}
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
CFtpDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 122935 2011-06-21 14:16 复件 FtpDebugFtp.exe
文件 290820 2011-06-21 14:16 复件 FtpDebugFtp.ilk
文件 16034 2011-06-05 13:48 复件 FtpDebugFtp.obj
文件 5564364 2011-06-05 12:02 复件 FtpDebugFtp.pch
文件 459776 2011-06-21 14:16 复件 FtpDebugFtp.pdb
文件 3368 2011-06-08 21:09 复件 FtpDebugFtp.res
文件 72909 2011-06-21 14:16 复件 FtpDebugFtpDlg.obj
文件 106259 2011-06-05 12:02 复件 FtpDebugStdAfx.obj
文件 222208 2011-06-21 14:16 复件 FtpDebugvc60.idb
文件 389120 2011-06-21 14:16 复件 FtpDebugvc60.pdb
文件 36788 2011-06-08 21:09 复件 FtpFtp.aps
文件 1456 2011-06-21 14:15 复件 FtpFtp.clw
文件 2115 2011-06-05 11:42 复件 FtpFtp.cpp
文件 4105 2011-06-05 11:42 复件 FtpFtp.dsp
文件 514 2011-06-05 12:07 复件 FtpFtp.dsw
文件 1291 2011-06-05 11:42 复件 FtpFtp.h
文件 66560 2011-06-21 14:17 复件 FtpFtp.ncb
文件 54784 2011-06-21 14:17 复件 FtpFtp.opt
文件 1014 2011-06-21 14:16 复件 FtpFtp.plg
文件 6061 2011-06-08 21:09 复件 FtpFtp.rc
文件 15815 2011-06-21 14:15 复件 FtpFtpDlg.cpp
文件 1855 2011-06-08 21:38 复件 FtpFtpDlg.h
文件 3525 2011-06-05 11:42 复件 FtpReadMe.txt
文件 1398 2011-06-05 13:36 复件 Ftp
esFtp.ico
文件 395 2011-06-05 11:42 复件 Ftp
esFtp.rc2
文件 1232 2011-06-08 21:09 复件 Ftp
esource.h
文件 205 2011-06-05 11:42 复件 FtpStdAfx.cpp
文件 1102 2011-06-05 11:42 复件 FtpStdAfx.h
目录 0 2011-06-21 14:16 复件 FtpDebug
目录 0 2011-06-06 17:46 复件 Ftp
es
............此处省略4个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)