ftp服务器源代码

上传者: jebel99 | 上传时间: 2021-06-08 16:31:10 | 文件大小: 114KB | 文件类型: RAR
FTP 服务器端,可用作小型FTP服务器.C++ 编写,在VC++下编译,工程文档齐全,直接打开即可编译。 class CFtpd : public CSocket { // Attributes public: // Operations public: CFtpd(); virtual ~CFtpd(); // Overrides public: char userfile[256]; char ipfile[256]; int m_buf_length; CCriticalSection absCrit; bool m_specify_data_port; UINT m_port_from; UINT m_port_to; void RemoveClient(CFtpdPi *pBind); void AddClient(CFtpdPi* pBind); UINT m_port; DWORD* lpDW2; DWORD* lpDW; LPHOSTENT lpHostEnt; char HostName[100]; unsigned long IP; char sTmp[32]; int i; CString Citem; int result; // SECFileSystem fs; char buf[256]; char tmp[32]; BOOL allow; POSITION pos; CString CSIP; int sl; // int m_kbs; bool b_speed_limit_in; bool b_speed_limit_out; int default_speed_in; int default_speed_out; char m_root_dir[256]; bool b_auto_choose_ip; bool b_switch_pasv_ip; bool b_ipchk_pasv; bool b_ipchk; CString m_servername; DWORD dwNumIf; DWORD GetLocalNumericIP(int Index); CStringList ipList; CFtpdPi* ftpdbindsock; CList ClientList; // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CFtpd) public: virtual void OnAccept(int nErrorCode); virtual void OnClose(int nErrorCode); //}}AFX_VIRTUAL // Generated message map functions //{{AFX_MSG(CFtpd) // NOTE - the ClassWizard will add and remove member functions here. //}}AFX_MSG // Implementation protected: };

文件下载

资源详情

[{"title":"( 30 个子文件 114KB ) ftp服务器源代码","children":[{"title":"FTP服务器源代码","children":[{"title":"FtpdPi.cpp <span style='color:#111;'> 36.16KB </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"FTPD.EXE <span style='color:#111;'> 56.00KB </span>","children":null,"spread":false},{"title":"fsftpd.user <span style='color:#111;'> 30B </span>","children":null,"spread":false}],"spread":true},{"title":"FtpdPasvSrv.h <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"blocksock.cpp <span style='color:#111;'> 8.72KB </span>","children":null,"spread":false},{"title":"FTPD.DSP <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false},{"title":"CSTRUTIL.CPP <span style='color:#111;'> 7.22KB </span>","children":null,"spread":false},{"title":"FTPD.CPP <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"ftpd.rc <span style='color:#111;'> 7.35KB </span>","children":null,"spread":false},{"title":"CSTRUTIL.H <span style='color:#111;'> 683B </span>","children":null,"spread":false},{"title":"RES","children":[{"title":"FTPD.RC2 <span style='color:#111;'> 396B </span>","children":null,"spread":false},{"title":"FS.BMP <span style='color:#111;'> 82.04KB </span>","children":null,"spread":false},{"title":"FTPD.ICO <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"fs.bmp.psd <span style='color:#111;'> 68.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"@Readme.txt <span style='color:#111;'> 901B </span>","children":null,"spread":false},{"title":"CFtpd.h <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"FtpdPasvSrv.cpp <span style='color:#111;'> 733B </span>","children":null,"spread":false},{"title":"ftpdDlg.cpp <span style='color:#111;'> 7.89KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"FTPD.DSW <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"FTPD.OPT <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"CFtpd.cpp <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"blocksock.h <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"ftpdDlg.h <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"FtpdPi.h <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"FTPD.H <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"FTPD.CLW <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"fsftpd.user <span style='color:#111;'> 32B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明