⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ftp.h

📁 电子监控的网络编程实例
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////
// CMyAppThread thread
#include <afxinet.h>
class CMyAppThread : public CWinThread
{
	DECLARE_DYNCREATE(CMyAppThread)
protected:
	CMyAppThread();           // protected constructor used by dynamic creation
	
	// Attributes
public:
	
	// Operations
public:
	static UINT RenameFileThread(LPVOID lParam);
	static UINT DeleteFileThread(LPVOID lParam);
	static UINT ReceiveFileThread(LPVOID lParam);
	static UINT SendFileThread(LPVOID lParam);
	static UINT FindLocFileThread(LPVOID lParam);
	static UINT FindServFileThread(LPVOID lParam);
protected:
	static BOOL PreDeleteFile(HINTERNET hInetSession,CString& strFtp,CString& OldDir);
	static BOOL PreReceiveFile(HINTERNET hInetSession,CString& str,CString& strFtp,LPVOID pInf);
	static BOOL PreSendFile(CFtpConnection* lpFtp,CString& str,CString& strFtp,LPVOID pInf);
	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyAppThread)
public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL
	
	// Implementation
protected:
	virtual ~CMyAppThread();
	
	// Generated message map functions
	//{{AFX_MSG(CMyAppThread)
	// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	
	DECLARE_MESSAGE_MAP()
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -