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