#include "downloadproperties.h"Go to the source code of this file.
Functions | |
| BOOL | fsFileNameFromUrlPath (LPCSTR pszUrl, BOOL bUsingFTP, BOOL bDecode, LPSTR pszBuf, UINT uSize) |
| BOOL | fsIRToStr (fsInternetResult ir, LPSTR pszStr, UINT uMaxSize) |
| BOOL | fsFilePathFromUrlPath (LPCSTR pszUrl, BOOL bUsingFTP, BOOL bDecode, LPSTR pszBuf, UINT uSize) |
| BOOL | fsPathFromUrlPath (LPCSTR pszUrl, BOOL bUsingFTP, BOOL bDecode, LPSTR pszBuf, UINT uSize) |
| BOOL | fsIsAnchorInUrl (LPCSTR pszFullUrl, LPSTR *ppszWithoutAnchor, LPCSTR *ppszAnchor=NULL) |
| DWORD | fsNPToSiteValidFor (fsNetworkProtocol np) |
| void | vmsMakeWinInetProxy (LPCSTR pszProxy, fsNetworkProtocol npConnection, fsNetworkProtocol npProxy, LPSTR pszWProxy) |
| ULONG | fsGetSiteIp (LPCSTR pszSite) |
| void | fsDecodeHtmlUrl (fsString &str) |
| void | fsDecodeHtmlText (fsString &str) |
| void fsDecodeHtmlText | ( | fsString & | str | ) |
Definition at line 333 of file inetutil.cpp.
References fsString::Replace().
Referenced by fsDecodeHtmlUrl(), vmsVideoSiteHtmlCodeParser::Parse_Blennus(), vmsVideoSiteHtmlCodeParser::Parse_DailyMotion(), vmsVideoSiteHtmlCodeParser::Parse_Further_LiveDigital(), vmsVideoSiteHtmlCodeParser::Parse_Further_MySpace(), vmsVideoSiteHtmlCodeParser::Parse_GoogleVideo(), vmsVideoSiteHtmlCodeParser::Parse_Grouper(), vmsVideoSiteHtmlCodeParser::Parse_Sharkle(), and vmsVideoSiteHtmlCodeParser::Parse_Youtube().
| void fsDecodeHtmlUrl | ( | fsString & | str | ) |
Definition at line 344 of file inetutil.cpp.
References c, fsDecodeHtmlText(), and fsString::GetLength().
Referenced by CFdmApp::CheckRegistry(), vmsVideoSiteHtmlCodeParser::Parse_DailyMotion(), vmsVideoSiteHtmlCodeParser::Parse_Further_LiveDigital(), and vmsVideoSiteHtmlCodeParser::Parse_GoogleVideo().
| BOOL fsFileNameFromUrlPath | ( | LPCSTR | pszUrl, | |
| BOOL | bUsingFTP, | |||
| BOOL | bDecode, | |||
| LPSTR | pszBuf, | |||
| UINT | uSize | |||
| ) |
Definition at line 150 of file common.cpp.
References DecodeURLPath(), FALSE, fsGetFileName(), pos(), and TRUE.
Referenced by fsDownloadMgr::BuildFileName(), CSpiderAddPageDlg::BuildOutFolder(), fsWebPageDownloader::CrackUrl(), CDownloadsWnd::CreateDownloadWithDefSettings(), fsInternetDownloader::FindMirrors(), CDownloads_Tasks::GetFileName(), CWGUrlReceiver::is_ExtToSkip(), is_ExtToSkip(), fsWebPageDownloader::IsUrlsEqual(), fsIECatchMgr::OnBeforeNavigate(), fsWebPageDownloader::OnCheckFileExtIsOK(), CCreateDownloadDlg::OnFileauto(), CCreateDownloadListDlg::OnFilter(), fsMirrorURLsMgr::OnSearchScriptResultsReceived(), fsWebPageDownloader::OnWPDownloadDone(), fsInternetDownloader::OpenUrl_imp(), fsWebPageDownloader::ParseHTMLFrameUrls(), fsWebPageDownloader::ParseHTMLImages(), fsWebPageDownloader::ParseHTMLLinkUrls(), fsWebPageDownloader::ParseHTMLUrls(), fsInternetDownloader::QuerySize(), CCreateDownloadDlg::UrlChanged(), and CCreateBatchDownload::UrlChanged().
| BOOL fsFilePathFromUrlPath | ( | LPCSTR | pszUrl, | |
| BOOL | bUsingFTP, | |||
| BOOL | bDecode, | |||
| LPSTR | pszBuf, | |||
| UINT | uSize | |||
| ) |
Definition at line 28 of file inetutil.cpp.
References DecodeURLPath(), FALSE, and TRUE.
Referenced by fsWebPageDownloader::AddPage(), and fsInternetDownloader::ApplyProperties().
| BOOL fsIRToStr | ( | fsInternetResult | ir, | |
| LPSTR | pszStr, | |||
| UINT | uMaxSize | |||
| ) |
Definition at line 163 of file inetutil.cpp.
References FALSE, IR_BADURL, IR_CANTCONNECT, IR_CONNECTIONABORTED, IR_DOUBTFUL_RANGESRESPONSE, IR_ERROR, IR_EXTERROR, IR_FILENOTFOUND, IR_HTTPVERNOTSUP, IR_INVALIDPASSWORD, IR_LOGINFAILURE, IR_LOSTCONNECTION, IR_NAMENOTRESOLVED, IR_NOINTERNETCONNECTION, IR_PROXYAUTHREQ, IR_RANGESNOTAVAIL, IR_SERVERBADREQUEST, IR_SERVERUNKERROR, IR_SUCCESS, IR_TIMEOUT, IR_WININETUNKERROR, L_BADREQ, L_BADURL, L_CANTCONNECT, L_CONNABORTED, L_CONNWASLOST, L_DOUBTFULRANGESRESPONSE, L_EXTERR, L_HTTPNOTSUPP, L_INVLOGIN, L_INVPWD, L_NOINETCONN, L_NORESUME, L_NOTFOUND, L_NOTRESOLVED, L_NOTRESPONSE, L_PROXYLOGINREQ, L_SUCCESS, L_UNKERR, L_UNKNETERR, L_UNKSERVERR, LS, and TRUE.
Referenced by fsDownloadMgr::_DownloaderEvents(), CHFEWnd::_EventsFunc(), CDownloadProperties_MirrorsPage::_threadFindMirrors2(), fsDownloadMgr::_threadQSize(), CCreateDownloadDlg::_threadQSize(), CUpdateDlg::_UpdateMgrEvents(), fsDownloadMgr::AddSection(), fsDownloadMgr::CheckIfMalicious(), vmsUploadsDllCaller::IRToStr(), CCreateDownloadDlg::OnMalicious(), and fsDownloadMgr::StartDownload().
Definition at line 77 of file inetutil.cpp.
References fsURL::Crack(), fsURL::Create(), FALSE, fsnew, fsURL::GetHostName(), fsURL::GetInternetScheme(), fsURL::GetPassword(), fsURL::GetPath(), fsURL::GetPort(), fsURL::GetUserName(), INTERNET_SCHEME_FTP, INTERNET_SCHEME_HTTP, IR_SUCCESS, NULL, and TRUE.
Referenced by fsWebPageDownloader::AddPage(), and fsWebPageDownloader::CrackUrl().
| DWORD fsNPToSiteValidFor | ( | fsNetworkProtocol | np | ) |
Definition at line 259 of file inetutil.cpp.
References NP_FTP, NP_HTTP, NP_HTTPS, SITE_VALIDFOR_FTP, SITE_VALIDFOR_HTTP, and SITE_VALIDFOR_HTTPS.
Referenced by CCreateDownloadDlg::_SavePassword(), fsInternetFileListMgr::_threadGetList(), fsDownloadsMgr::Add(), CDownloadsWnd::CreateDownloadWithDefSettings(), CSites_GeneralPage::OnApply(), fsDownloadsMgr::OnQueryNewSection(), fsDownloadsMgr::OnSectionStop(), CSpiderAddPageDlg::OnUrlChanged(), fsDownloadsMgr::ProcessDownloads(), fsDownloadsMgr::RebuildServerList(), CCreateDownloadDlg::UrlChanged(), CCreateBatchDownload::UrlChanged(), and CCreateDownloadListDlg::WriteUrlsToDialog().
Definition at line 49 of file inetutil.cpp.
References DecodeURLPath(), FALSE, LPSTR, NULL, and TRUE.
Referenced by fsArchiveInternetStream::Open_imp(), fsInternetDownloader::OpenUrl_imp(), and fsInternetDownloader::QuerySize().
| void vmsMakeWinInetProxy | ( | LPCSTR | pszProxy, | |
| fsNetworkProtocol | npConnection, | |||
| fsNetworkProtocol | npProxy, | |||
| LPSTR | pszWProxy | |||
| ) |
Definition at line 288 of file inetutil.cpp.
References ASSERT, FALSE, NP_FILE, NP_FTP, NP_HTTP, and NP_HTTPS.
Referenced by vmsInternetSession::Create(), fsInternetDownloader::FindMirrors(), fsInternetDownloader::OpenUrl_imp(), and fsInternetDownloader::QuerySize().
1.5.6