DownloadFtp.h
上传用户:oadesign
上传日期:2013-12-25
资源大小:265k
文件大小:1k
- // DownloadFtp.h: interface for the CDownloadFtp class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DownloadFtp_H__D38B65CF_A767_4A6D_B3D5_5DE9553A36B2__INCLUDED_)
- #define AFX_DownloadFtp_H__D38B65CF_A767_4A6D_B3D5_5DE9553A36B2__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "DownloadPub.h"
- class CDownloadFtp : public CDownloadPub
- {
- public:
- CDownloadFtp();
- virtual ~CDownloadFtp();
- BOOL Connect ();
- BOOL GetRemoteSiteInfo ();
- private:
- void GetFileTimeInfo ( CString csFileTime1, CString csFileTime2, CString csFileTime3 );
- BOOL CreateFTPDataConnect ( CSocketClient &SocketClient );
- void ParseFileInfoStr ( CString &csFileInfoStr );
- protected:
- virtual BOOL DownloadOnce();
- };
- #endif // !defined(AFX_DownloadFtp_H__D38B65CF_A767_4A6D_B3D5_5DE9553A36B2__INCLUDED_)