#include <fsURL.h>
Definition at line 19 of file fsURL.h.
| fsURL::fsURL | ( | ) |
| virtual fsURL::~fsURL | ( | ) | [virtual] |
| fsInternetResult fsURL::Crack | ( | LPCSTR | pszUrl, | |
| BOOL | bCheckScheme = TRUE | |||
| ) |
Definition at line 20 of file fsURL.cpp.
References URL_COMPONENTSA::dwHostNameLength, URL_COMPONENTSA::dwPasswordLength, URL_COMPONENTSA::dwSchemeLength, URL_COMPONENTSA::dwStructSize, URL_COMPONENTSA::dwUrlPathLength, URL_COMPONENTSA::dwUserNameLength, FixWinInetBug(), fsnew, fsWinInetErrorToIR(), GetLastError(), ICU_BROWSER_MODE, ICU_DECODE, INTERNET_SCHEME_FILE, INTERNET_SCHEME_FTP, INTERNET_SCHEME_HTTP, INTERNET_SCHEME_HTTPS, InternetCanonicalizeUrl, InternetCrackUrl, IR_BADURL, IR_SUCCESS, fsString::Length(), URL_COMPONENTSA::lpszHostName, URL_COMPONENTSA::lpszPassword, URL_COMPONENTSA::lpszScheme, URL_COMPONENTSA::lpszUrlPath, URL_COMPONENTSA::lpszUserName, m_szHost, m_szPassword, m_szPath, m_szScheme, m_szUser, m_url, URL_COMPONENTSA::nPort, URL_COMPONENTSA::nScheme, NULL, URL_HOSTNAME_SIZE, URL_PASSWORD_SIZE, URL_PATH_SIZE, URL_SCHEME_SIZE, and URL_USERNAME_SIZE.
Referenced by fsInternetFileListMgr::_threadGetList(), fsHttpFiles::BuildFileList(), CSpiderAddPageDlg::BuildOutFolder(), fsHttpFiles::CalcUrl(), fsUrlsToDownloadRegKeyMgr::CheckKey(), CCreateBatchDownload::CheckUrl(), fsInternetURLServer::Connect(), DecodeURLPath(), fsInternetURLFileDownloader::Download(), vmsIETmpCookies::Find(), fsInternetFileListMgr::FindFiles(), fsWebPageDownloader::FindWebPage(), fsDNP_ApplyUrl(), fsDNP_GetByUrl(), fsHttpOpenPath(), fsHttpOpenUrl(), fsIsAnchorInUrl(), fsUrlToFullUrl(), fsWebPageDownloader::GetDownloadingSiteName(), fsHttpFiles::GetList(), fsHttpFiles::GetUrlInfo(), CWgUrlListReceiver::GetUrlListFromDocumentSelection(), CWGUrlReceiver::is_ExtToSkip(), is_ExtToSkip(), is_ServerToSkip(), CSpiderAddPageDlg::IsOkUrl(), fsWebPageDownloader::IsUrlsEqual(), fsWebPageDownloader::IsURLShouldBeIgnored(), CCreateDownloadDlg::OnAdvanced(), CCreateBatchDownload::OnAdvanced(), CSites_GeneralPage::OnApply(), CPrg_UpdatePage::OnApply(), CDownloadProperties_GeneralPage::OnApply(), fsIECatchMgr::OnBeforeNavigate(), CFloatingWndDropTarget::OnDragOver(), CFloatingWndDropTarget::OnDrop(), CCreateDownloadDlg::OnFileauto(), CCreateDownloadListDlg::OnFilter(), CUrlWithLoginDlg::OnInitDialog(), CSpiderAddPageDlg::OnInitDialog(), CDlg_WPD_IL_Add::OnInitDialog(), CDlg_CreateFVDownload::OnInitDialog(), CCreateDownloadDlg::OnInitDialog(), CCreateBatchDownload::OnInitDialog(), CCreateDownloadDlg::OnMirrors(), CUrlWithLoginDlg::OnOK(), CSpiderAddPageDlg::OnOK(), CDlg_WPD_IL_Add::OnOK(), CDlg_CreateFVDownload::OnOK(), CCreateBatchDownload::OnOK(), fsMirrorURLsMgr::OnSearchScriptResultsReceived(), CSpiderAddPageDlg::OnUrlChanged(), fsArchiveInternetStream::Open_imp(), fsInternetDownloader::OpenUrl_imp(), fsFDMCmdLineParser::Parse(), fsWebPageDownloader::ParseHTML(), fsWebPageDownloader::ParseHTMLFrameUrls(), fsWebPageDownloader::ParseHTMLImages(), fsWebPageDownloader::ParseHTMLLinkUrls(), fsWebPageDownloader::ParseHTMLUrls(), vmsBtDownloadManager::ProcessFilePathMacroses(), CFDMFlashVideoDownloads::ProcessIeDocument(), CHFE_Address::PushUrl(), fsInternetDownloader::QuerySize(), CCreateBatchDownload::ReadAuth(), CCreateDownloadDlg::ReadDNP(), CUrlWithLoginDlg::UpdateDNP(), CHFE_Address::UpdateUrl(), CCreateDownloadDlg::UrlChanged(), CCreateBatchDownload::UrlChanged(), and CCreateDownloadListDlg::WriteUrlsToDialog().
| fsInternetResult fsURL::Create | ( | INTERNET_SCHEME | nScheme, | |
| LPCTSTR | lpszHostName, | |||
| INTERNET_PORT | nPort, | |||
| LPCTSTR | lpszUserName, | |||
| LPCTSTR | lpszPassword, | |||
| LPCTSTR | lpszUrlPath, | |||
| LPSTR | lpszUrl, | |||
| DWORD * | pdwUrlLength | |||
| ) |
Definition at line 176 of file fsURL.cpp.
References URL_COMPONENTSA::dwStructSize, Encode(), fsWinInetErrorToIR(), INTERNET_SCHEME_FILE, InternetCreateUrl, IR_SUCCESS, fsString::Length(), URL_COMPONENTSA::lpszHostName, URL_COMPONENTSA::lpszPassword, URL_COMPONENTSA::lpszUrlPath, URL_COMPONENTSA::lpszUserName, m_url, URL_COMPONENTSA::nPort, URL_COMPONENTSA::nScheme, and NULL.
Referenced by fsInternetDownloader::ApplyProperties(), fsHttpFiles::BuildFileList(), CDownloadProperties_MirrorsPage::FillMirrsList(), fsDNP_GetURL(), fsIsAnchorInUrl(), fsUrlToFullUrl(), fsInternetDownloader::get_URL(), fsDownloadMgr::get_URL(), fsInternetFileListMgr::GetCurrentUrl(), fsWebPageDownloader::GetDownloadingSiteName(), CSCRDlg::OnInitDialog(), CDownloadProperties_GeneralPage::OnInitDialog(), CCreateDownloadDlg::OnInitDialog(), CCreateBatchDownload::OnInitDialog(), fsHttpFile::Open_imp(), fsArchiveInternetStream::Open_imp(), fsInternetURLFile::OpenEx(), fsInternetDownloader::OpenUrl_imp(), CHFE_Address::PushUrl(), and fsInternetDownloader::QuerySize().
| INTERNET_PORT fsURL::GetPort | ( | ) |
Definition at line 171 of file fsURL.cpp.
References m_url, and URL_COMPONENTSA::nPort.
Referenced by fsInternetFileListMgr::_threadGetList(), fsHttpFiles::CalcUrl(), fsInternetURLFileDownloader::Download(), fsInternetFileListMgr::FindFiles(), fsDNP_ApplyUrl(), fsDNP_GetByUrl(), fsHttpOpenUrl(), fsIsAnchorInUrl(), fsUrlToFullUrl(), fsWebPageDownloader::GetDownloadingSiteName(), fsWebPageDownloader::IsUrlsEqual(), CCreateDownloadDlg::OnInitDialog(), CCreateBatchDownload::OnInitDialog(), and CHFE_Address::PushUrl().
| INTERNET_SCHEME fsURL::GetInternetScheme | ( | ) |
Definition at line 166 of file fsURL.cpp.
References m_url, and URL_COMPONENTSA::nScheme.
Referenced by fsInternetFileListMgr::_threadGetList(), fsHttpFiles::BuildFileList(), CSpiderAddPageDlg::BuildOutFolder(), fsHttpFiles::CalcUrl(), fsInternetURLServer::Connect(), fsInternetURLFileDownloader::Download(), fsInternetFileListMgr::FindFiles(), fsDNP_ApplyUrl(), fsDNP_GetByUrl(), fsHttpOpenUrl(), fsIsAnchorInUrl(), fsUrlToFullUrl(), fsWebPageDownloader::GetDownloadingSiteName(), CWGUrlReceiver::is_ExtToSkip(), is_ExtToSkip(), CSpiderAddPageDlg::IsOkUrl(), fsWebPageDownloader::IsUrlsEqual(), CCreateDownloadDlg::OnAdvanced(), CCreateBatchDownload::OnAdvanced(), CSites_GeneralPage::OnApply(), CDownloadProperties_GeneralPage::OnApply(), fsIECatchMgr::OnBeforeNavigate(), CCreateDownloadDlg::OnFileauto(), CCreateDownloadListDlg::OnFilter(), CCreateDownloadDlg::OnInitDialog(), CCreateBatchDownload::OnInitDialog(), CCreateDownloadDlg::OnMirrors(), CSpiderAddPageDlg::OnOK(), CCreateBatchDownload::OnOK(), fsMirrorURLsMgr::OnSearchScriptResultsReceived(), CSpiderAddPageDlg::OnUrlChanged(), fsWebPageDownloader::ParseHTMLFrameUrls(), fsWebPageDownloader::ParseHTMLImages(), fsWebPageDownloader::ParseHTMLLinkUrls(), fsWebPageDownloader::ParseHTMLUrls(), CHFE_Address::PushUrl(), CCreateDownloadDlg::UrlChanged(), CCreateBatchDownload::UrlChanged(), and CCreateDownloadListDlg::WriteUrlsToDialog().
| LPCSTR fsURL::GetPassword | ( | ) |
Definition at line 161 of file fsURL.cpp.
References m_szPassword.
Referenced by fsInternetFileListMgr::_threadGetList(), fsInternetURLServer::Connect(), fsInternetURLFileDownloader::Download(), fsInternetFileListMgr::FindFiles(), fsDNP_ApplyUrl(), fsDNP_GetByUrl(), fsHttpOpenUrl(), fsIsAnchorInUrl(), fsUrlToFullUrl(), fsHttpFiles::GetUrlInfo(), CSites_GeneralPage::OnApply(), CHFE_Address::PushUrl(), CCreateBatchDownload::ReadAuth(), and CHFE_Address::UpdateUrl().
| LPCSTR fsURL::GetUserName | ( | ) |
Definition at line 156 of file fsURL.cpp.
References m_szUser.
Referenced by fsInternetFileListMgr::_threadGetList(), fsInternetURLServer::Connect(), fsInternetURLFileDownloader::Download(), fsInternetFileListMgr::FindFiles(), fsDNP_ApplyUrl(), fsDNP_GetByUrl(), fsHttpOpenUrl(), fsIsAnchorInUrl(), fsUrlToFullUrl(), fsHttpFiles::GetUrlInfo(), CSites_GeneralPage::OnApply(), CCreateDownloadDlg::OnInitDialog(), CCreateBatchDownload::OnInitDialog(), CSpiderAddPageDlg::OnUrlChanged(), CHFE_Address::PushUrl(), CCreateBatchDownload::ReadAuth(), CHFE_Address::UpdateUrl(), CCreateDownloadDlg::UrlChanged(), and CCreateBatchDownload::UrlChanged().
| LPCSTR fsURL::GetScheme | ( | ) |
| LPCSTR fsURL::GetHostName | ( | ) |
Definition at line 146 of file fsURL.cpp.
References m_szHost.
Referenced by fsInternetFileListMgr::_threadGetList(), CSpiderAddPageDlg::BuildOutFolder(), fsHttpFiles::CalcUrl(), CCreateBatchDownload::CheckUrl(), fsInternetURLServer::Connect(), fsInternetURLFileDownloader::Download(), vmsIETmpCookies::Find(), fsInternetFileListMgr::FindFiles(), fsDNP_ApplyUrl(), fsDNP_GetByUrl(), fsHttpOpenUrl(), fsIsAnchorInUrl(), fsUrlToFullUrl(), fsWebPageDownloader::GetDownloadingSiteName(), CWgUrlListReceiver::GetUrlListFromDocumentSelection(), is_ServerToSkip(), CSpiderAddPageDlg::IsOkUrl(), fsWebPageDownloader::IsUrlsEqual(), fsWebPageDownloader::IsURLShouldBeIgnored(), CCreateDownloadDlg::OnAdvanced(), CSites_GeneralPage::OnApply(), CPrg_UpdatePage::OnApply(), CDownloadProperties_GeneralPage::OnApply(), CUrlWithLoginDlg::OnInitDialog(), CDlg_CreateFVDownload::OnInitDialog(), CCreateDownloadDlg::OnInitDialog(), CCreateBatchDownload::OnInitDialog(), CCreateDownloadDlg::OnMirrors(), CUrlWithLoginDlg::OnOK(), CSpiderAddPageDlg::OnOK(), CDlg_CreateFVDownload::OnOK(), CCreateBatchDownload::OnOK(), fsMirrorURLsMgr::OnSearchScriptResultsReceived(), CSpiderAddPageDlg::OnUrlChanged(), fsWebPageDownloader::ParseHTMLFrameUrls(), fsWebPageDownloader::ParseHTMLImages(), fsWebPageDownloader::ParseHTMLLinkUrls(), fsWebPageDownloader::ParseHTMLUrls(), vmsBtDownloadManager::ProcessFilePathMacroses(), CFDMFlashVideoDownloads::ProcessIeDocument(), CHFE_Address::PushUrl(), CCreateDownloadDlg::UrlChanged(), CCreateBatchDownload::UrlChanged(), and CCreateDownloadListDlg::WriteUrlsToDialog().
| LPCSTR fsURL::GetPath | ( | ) |
Definition at line 141 of file fsURL.cpp.
References m_szPath.
Referenced by fsInternetFileListMgr::_threadGetList(), CSpiderAddPageDlg::BuildOutFolder(), fsHttpFiles::CalcUrl(), CCreateBatchDownload::CheckUrl(), DecodeURLPath(), fsInternetURLFileDownloader::Download(), fsInternetFileListMgr::FindFiles(), fsDNP_ApplyUrl(), fsDNP_GetByUrl(), fsHttpOpenUrl(), fsIsAnchorInUrl(), fsHttpFiles::GetList(), CWGUrlReceiver::is_ExtToSkip(), is_ExtToSkip(), fsWebPageDownloader::IsUrlsEqual(), fsWebPageDownloader::IsURLShouldBeIgnored(), CCreateDownloadDlg::OnAdvanced(), fsIECatchMgr::OnBeforeNavigate(), CCreateDownloadDlg::OnFileauto(), CCreateDownloadListDlg::OnFilter(), CCreateDownloadDlg::OnInitDialog(), CCreateBatchDownload::OnInitDialog(), CCreateDownloadDlg::OnMirrors(), CUrlWithLoginDlg::OnOK(), fsMirrorURLsMgr::OnSearchScriptResultsReceived(), fsWebPageDownloader::ParseHTMLFrameUrls(), fsWebPageDownloader::ParseHTMLImages(), fsWebPageDownloader::ParseHTMLLinkUrls(), fsWebPageDownloader::ParseHTMLUrls(), vmsBtDownloadManager::ProcessFilePathMacroses(), CHFE_Address::PushUrl(), CCreateDownloadDlg::UrlChanged(), and CCreateBatchDownload::UrlChanged().
| void fsURL::FixWinInetBug | ( | ) |
| fsInternetResult fsURL::Crack | ( | LPCSTR | pszUrl, | |
| BOOL | bCheckScheme = TRUE | |||
| ) |
| fsInternetResult fsURL::Create | ( | INTERNET_SCHEME | nScheme, | |
| LPCTSTR | lpszHostName, | |||
| INTERNET_PORT | nPort, | |||
| LPCTSTR | lpszUserName, | |||
| LPCTSTR | lpszPassword, | |||
| LPCTSTR | lpszUrlPath, | |||
| LPSTR | lpszUrl, | |||
| DWORD * | pdwUrlLength | |||
| ) |
| INTERNET_PORT fsURL::GetPort | ( | ) |
| INTERNET_SCHEME fsURL::GetInternetScheme | ( | ) |
| LPCSTR fsURL::GetPassword | ( | ) |
| LPCSTR fsURL::GetUserName | ( | ) |
| LPCSTR fsURL::GetScheme | ( | ) |
| LPCSTR fsURL::GetHostName | ( | ) |
| LPCSTR fsURL::GetPath | ( | ) |
| void fsURL::FixWinInetBug | ( | ) |
URL_COMPONENTS fsURL::m_url [protected] |
CHAR fsURL::m_szScheme [protected] |
CHAR fsURL::m_szHost [protected] |
CHAR fsURL::m_szUser [protected] |
CHAR fsURL::m_szPassword [protected] |
CHAR fsURL::m_szPath [protected] |
1.5.6