00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_FSFTPFILES_H__9903206C_EB0F_46C8_A778_FF0D15F795F5__INCLUDED_) 00007 #define AFX_FSFTPFILES_H__9903206C_EB0F_46C8_A778_FF0D15F795F5__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 #include "fsInternetFiles.h" 00014 #include "fsinet.h" 00015 #include "fsFtpConnection.h" 00016 00017 class fsFtpFiles : public fsInternetFiles 00018 { 00019 public: 00020 00021 fsInternetResult GetList (LPCSTR pszUrl); 00022 void Abort(); 00023 LPCSTR GetLastError(); 00024 00025 00026 00027 void SetServer (fsFtpConnection* pServer); 00028 00029 void Reload (BOOL bReload = TRUE); 00030 00031 00032 fsFtpFiles(); 00033 virtual ~fsFtpFiles(); 00034 00035 protected: 00036 fsFtpConnection* m_pServer; 00037 BOOL m_bReload; 00038 BOOL m_bAbort; 00039 00040 fsInternetResult BuildList(); 00041 }; 00042 00043 #endif
1.5.6