FTPSend2.h 868 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // FTPSend.h: interface for the CFTPSend2 class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_FTPSend2_H__05003AE0_E234_11D2_970B_00A024EBF6AB__INCLUDED_)
  5. #define AFX_FTPSend2_H__05003AE0_E234_11D2_970B_00A024EBF6AB__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. #include <afxinet.h>
  10. #include <afxext.h>
  11. class CFTPSend2
  12. {
  13. public:
  14. int *m_bStop;
  15. CString m_path;
  16. CString m_ziptype;
  17. int m_pos;
  18. CString m_retmsg;
  19. //´«ÊäÎļþ
  20. BOOL MoveFile(CString remotefile, CString localfile, BOOL blast);
  21. //Í˳ö
  22. void LogOffServer();
  23. //怫
  24. BOOL LogOnToServer(CString hostname,int hostport,CString username, CString password);
  25. CFTPSend2();
  26. ~CFTPSend2();
  27. private:
  28. HINTERNET hInetSession;
  29. HINTERNET hFtpConn;
  30. };
  31. #endif // !defined(AFX_FTPSend2_H__05003AE0_E234_11D2_970B_00A024EBF6AB__INCLUDED_)