1234567891011121314151617181920212223242526272829303132333435363738 |
- // FTPSend.h: interface for the CFTPSend2 class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_FTPSend2_H__05003AE0_E234_11D2_970B_00A024EBF6AB__INCLUDED_)
- #define AFX_FTPSend2_H__05003AE0_E234_11D2_970B_00A024EBF6AB__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #include <afxinet.h>
- #include <afxext.h>
- class CFTPSend2
- {
- public:
- int *m_bStop;
- CString m_path;
- CString m_ziptype;
- int m_pos;
- CString m_retmsg;
- //´«ÊäÎļþ
- BOOL MoveFile(CString remotefile, CString localfile, BOOL blast);
- //Í˳ö
- void LogOffServer();
- //怫
- BOOL LogOnToServer(CString hostname,int hostport,CString username, CString password);
- CFTPSend2();
- ~CFTPSend2();
- private:
- HINTERNET hInetSession;
- HINTERNET hFtpConn;
- };
- #endif // !defined(AFX_FTPSend2_H__05003AE0_E234_11D2_970B_00A024EBF6AB__INCLUDED_)
|