URLMonFetcher Object

Description

This object will use the windows url processing api to retrieve information represented by a url. This object can be used for http, ftp, https, file and any other url that works in Internet Explorer.

The mechanism also uses the local caching mechanism.

Note that this uses user settings, so it wont work if run under a non-user context. For example it wont work under services, notable IIS.

For HTTP requests you can also use the HTTPFetcher.

Methods

Fetch

FetchBinary

Example

Set uf = CreateObject("Toolsack.UrlMonFetcher")
 
t1 = uf.Fetch("http://www.toolsack.com/")
msgbox t1
t2 = uf.Fetch("https://www.verisign.com/")
msgbox t2
t3 = uf.Fetch("file://C:\temp\text.txt")
msgbox t3
t4 = uf.Fetch("ftp://name:passwd@ftp.com/dir/file.txt")
msgbox t4
 
 

Samples

Articles



We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.