FtpClientDlg.h
资源名称:ftp_c_s.rar [点击查看]
上传用户:shjunxiao
上传日期:2022-01-25
资源大小:7105k
文件大小:2k
源码类别:
Ftp客户端
开发平台:
Visual C++
- // FtpClientDlg.h : header file
- //
- #if !defined(AFX_FTPCLIENTDLG_H__B49C2A27_20A4_455D_B1BB_7B8156967BFA__INCLUDED_)
- #define AFX_FTPCLIENTDLG_H__B49C2A27_20A4_455D_B1BB_7B8156967BFA__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CFtpClientDlg dialog
- struct FILEINFO
- {
- CString fName;
- CString fLength;
- };
- class CFtpClientDlg : public CDialog
- {
- // Construction
- public:
- CFtpClientDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CFtpClientDlg)
- enum { IDD = IDD_FTPCLIENT_DIALOG };
- CButton m_put_file;
- CButton m_connect;
- CString m_port;
- CString m_IP;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFtpClientDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CFtpClientDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnConnect();
- afx_msg void OnPutFile();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- SOCKET m_sock;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FTPCLIENTDLG_H__B49C2A27_20A4_455D_B1BB_7B8156967BFA__INCLUDED_)