#include <fsHttpFiles.h>

Definition at line 27 of file fsHttpFiles.h.
| fsHttpFiles::fsHttpFiles | ( | ) |
Definition at line 12 of file fsHttpFiles.cpp.
References m_bGetInfo, m_pfnEvents, m_pszFileBuffer, NULL, and TRUE.
| fsHttpFiles::~fsHttpFiles | ( | ) | [virtual] |
| fsHttpFiles::fsHttpFiles | ( | ) |
| virtual fsHttpFiles::~fsHttpFiles | ( | ) | [virtual] |
| fsInternetResult fsHttpFiles::GetList | ( | LPCSTR | pszPath | ) | [virtual] |
Reimplemented from fsInternetFiles.
Definition at line 24 of file fsHttpFiles.cpp.
References BOOL, BuildFileList(), fsURL::Crack(), Event(), FALSE, fsHttpOpenPath(), fsURL::GetPath(), HFE_CONNECTED, HFE_FILELISTREAD, HFE_FINISHBUILDLIST, HFE_STARTBUILDLIST, IR_S_REDIRECTED, IR_SUCCESS, LoadFile(), LPSTR, m_bAbort, m_bUseSecure, m_httpFile, m_pServer, fsInternetFiles::m_strPath, TRUE, and fsHttpFile::UseSecure().
| void fsHttpFiles::Abort | ( | ) | [virtual] |
Reimplemented from fsInternetFiles.
Definition at line 324 of file fsHttpFiles.cpp.
References fsInternetFile::CloseHandle(), m_bAbort, m_httpFile, and TRUE.
| void fsHttpFiles::SetEventFunc | ( | fntHttpFilesEventFunc | pfn, | |
| LPVOID | lpParam | |||
| ) |
Definition at line 410 of file fsHttpFiles.cpp.
References m_lpEventsParam, and m_pfnEvents.
Referenced by fsInternetURLFiles::SetHttpEventFunc().
| void fsHttpFiles::UseSecure | ( | BOOL | bUse | ) |
Definition at line 405 of file fsHttpFiles.cpp.
References m_bUseSecure.
Referenced by fsInternetURLFiles::GetList().
| LPCSTR fsHttpFiles::GetLastError | ( | ) | [virtual] |
Reimplemented from fsInternetFiles.
Definition at line 400 of file fsHttpFiles.cpp.
References fsInternetServerConnection::GetLastError(), and m_pServer.
| void fsHttpFiles::SetServer | ( | fsHttpConnection * | pServer | ) |
Definition at line 330 of file fsHttpFiles.cpp.
References m_pServer.
Referenced by fsInternetURLFiles::GetList().
| void fsHttpFiles::RetreiveInfoWhileGettingList | ( | BOOL | b | ) |
Definition at line 297 of file fsHttpFiles.cpp.
References m_bGetInfo.
Referenced by fsInternetURLFiles::RetreiveInfoWhileGettingList().
| void fsHttpFiles::Event | ( | fsHttpFilesEvent | enEvent | ) | [protected] |
Definition at line 416 of file fsHttpFiles.cpp.
References m_lpEventsParam, and m_pfnEvents.
Referenced by GetList().
| void fsHttpFiles::CalcUrl | ( | fsFileInfo * | pInfo, | |
| LPCSTR | pszSomeUrl | |||
| ) | [protected] |
Definition at line 335 of file fsHttpFiles.cpp.
References fsFileInfo::bFolder, fsURL::Crack(), FALSE, fsIsServersEqual(), fsURL::GetHostName(), fsURL::GetInternetScheme(), fsURL::GetPath(), fsURL::GetPort(), IR_SUCCESS, fsString::Length(), m_pszBaseURL, fsFileInfo::strName, and TRUE.
Referenced by BuildFileList(), and GetUrlInfo().
| void fsHttpFiles::CheckFolder | ( | fsFileInfo * | file | ) | [protected] |
Definition at line 302 of file fsHttpFiles.cpp.
References fsFileInfo::bFolder, fsString::Length(), fsFileInfo::strName, and TRUE.
Referenced by BuildFileList(), and GetUrlInfo().
| fsInternetResult fsHttpFiles::GetUrlInfo | ( | LPCSTR | pszUrl, | |
| fsFileInfo * | pInfo | |||
| ) | [protected] |
Definition at line 236 of file fsHttpFiles.cpp.
References fsFileInfo::bAvailable, fsFileInfo::bFolder, BOOL, CalcUrl(), CheckFolder(), fsInternetFile::CloseHandle(), fsInternetServerConnection::CloseHandle(), fsURL::Crack(), fsFileInfo::date, _FILETIME::dwHighDateTime, _FILETIME::dwLowDateTime, FALSE, fsHttpOpenPath(), fsHttpOpenUrl(), fsInternetFile::GetFileSize(), fsInternetFile::GetLastModifiedDate(), fsURL::GetPassword(), fsInternetServerConnection::GetSession(), fsURL::GetUserName(), fsInternetServerConnection::Initialize(), IR_S_FALSE, IR_SUCCESS, LPSTR, m_bAbort, m_bUseSecure, m_hUI_file, m_hUI_server, m_pServer, NULL, SAFE_DELETE_ARRAY, fsFileInfo::strName, fsHttpFile::UseSecure(), and fsFileInfo::uSize.
Referenced by BuildFileList().
| fsInternetResult fsHttpFiles::BuildFileList | ( | ) | [protected] |
Definition at line 159 of file fsHttpFiles.cpp.
References fsFileInfo::bAvailable, fsFileInfo::bFolder, BOOL, CalcUrl(), CheckFolder(), fsURL::Crack(), fsURL::Create(), fsFileInfo::date, _FILETIME::dwHighDateTime, _FILETIME::dwLowDateTime, FALSE, fsHTMLParser::Get_BaseURL(), fsURL::GetInternetScheme(), fsInternetServerConnection::GetServerName(), fsInternetServerConnection::GetServerPort(), fsHTMLParser::GetUrl(), fsHTMLParser::GetUrlCount(), GetUrlInfo(), INTERNET_SCHEME_FTP, INTERNET_SCHEME_HTTP, INTERNET_SCHEME_HTTPS, IR_S_FALSE, IR_SUCCESS, fsString::Length(), LPSTR, m_bAbort, m_bGetInfo, m_pServer, m_pszBaseURL, m_pszFileBuffer, m_strFullPath, fsInternetFiles::m_strPath, fsInternetFiles::m_vFiles, NULL, fsHTMLParser::ParseHTML(), simple_client::s, fsFileInfo::strName, TRUE, and fsFileInfo::uSize.
Referenced by GetList().
| fsInternetResult fsHttpFiles::LoadFile | ( | ) | [protected] |
Definition at line 85 of file fsHttpFiles.cpp.
References fsInternetFile::CloseHandle(), FALSE, fsnew, fsInternetFile::GetFileSize(), IR_S_FALSE, IR_SUCCESS, IR_WININETUNKERROR, LPSTR, m_bAbort, m_httpFile, m_pszFileBuffer, m_uFileLen, fsHttpFile::Read(), and SAFE_DELETE_ARRAY.
Referenced by GetList().
| fsInternetResult fsHttpFiles::GetList | ( | LPCSTR | pszPath | ) | [virtual] |
Reimplemented from fsInternetFiles.
| void fsHttpFiles::Abort | ( | ) | [virtual] |
Reimplemented from fsInternetFiles.
| void fsHttpFiles::SetEventFunc | ( | fntHttpFilesEventFunc | pfn, | |
| LPVOID | lpParam | |||
| ) |
| void fsHttpFiles::UseSecure | ( | BOOL | bUse | ) |
| LPCSTR fsHttpFiles::GetLastError | ( | ) | [virtual] |
Reimplemented from fsInternetFiles.
| void fsHttpFiles::SetServer | ( | fsHttpConnection * | pServer | ) |
| void fsHttpFiles::RetreiveInfoWhileGettingList | ( | BOOL | b | ) |
| void fsHttpFiles::Event | ( | fsHttpFilesEvent | enEvent | ) | [protected] |
| void fsHttpFiles::CalcUrl | ( | fsFileInfo * | pInfo, | |
| LPCSTR | pszSomeUrl | |||
| ) | [protected] |
| void fsHttpFiles::CheckFolder | ( | fsFileInfo * | file | ) | [protected] |
| fsInternetResult fsHttpFiles::GetUrlInfo | ( | LPCSTR | pszUrl, | |
| fsFileInfo * | pInfo | |||
| ) | [protected] |
| fsInternetResult fsHttpFiles::BuildFileList | ( | ) | [protected] |
| fsInternetResult fsHttpFiles::LoadFile | ( | ) | [protected] |
LPCSTR fsHttpFiles::m_pszBaseURL [protected] |
fntHttpFilesEventFunc fsHttpFiles::m_pfnEvents [protected] |
Definition at line 67 of file fsHttpFiles.h.
Referenced by Event(), fsHttpFiles(), and SetEventFunc().
LPVOID fsHttpFiles::m_lpEventsParam [protected] |
BOOL fsHttpFiles::m_bUseSecure [protected] |
Definition at line 69 of file fsHttpFiles.h.
Referenced by GetList(), GetUrlInfo(), and UseSecure().
fsString fsHttpFiles::m_strFullPath [protected] |
BOOL fsHttpFiles::m_bAbort [protected] |
Definition at line 71 of file fsHttpFiles.h.
Referenced by Abort(), BuildFileList(), GetList(), GetUrlInfo(), and LoadFile().
BOOL fsHttpFiles::m_bGetInfo [protected] |
Definition at line 72 of file fsHttpFiles.h.
Referenced by BuildFileList(), fsHttpFiles(), and RetreiveInfoWhileGettingList().
LPSTR fsHttpFiles::m_pszFileBuffer [protected] |
Definition at line 73 of file fsHttpFiles.h.
Referenced by BuildFileList(), fsHttpFiles(), LoadFile(), and ~fsHttpFiles().
UINT64 fsHttpFiles::m_uFileLen [protected] |
fsHttpFile fsHttpFiles::m_httpFile [protected] |
fsHttpConnection * fsHttpFiles::m_pServer [protected] |
Definition at line 76 of file fsHttpFiles.h.
Referenced by BuildFileList(), GetLastError(), GetList(), GetUrlInfo(), and SetServer().
fsHttpConnection fsHttpFiles::m_hUI_server [private] |
fsHttpFile fsHttpFiles::m_hUI_file [private] |
1.5.6