Introduction | ||
Download files... Downloader ObjectUsing jsHTTP2.DownloaderProperties: Port Online ProxyConnection Busy CurSize CurFileAsString ServerHeader, ServerCode ErrorString Methods: RequestFile WriteTextFile WriteBinaryFile DisconnectNetwork Events: OnConnect OnDisconnect OnDownloadFinish |
Get remote host name and geographical location from an IP address... IPInfo ObjectUsing jsHTTP2.IPInfoProperties: Timeout Busy ErrorString Methods: EnableHostNameData GetHostNameFromIP EnableLocationData GetLocationFromIP Events: OnHostNameResult Location Object |
Create/extract from .gz files. Plus numerous functions for high-efficiency binary file read/write from script... FileOps ObjectUsing jsHTTP2.FileOpsProperties ErrorNumber ErrorString FileSize Methods: OpenFile FileRead FileWrite StoreBytes StoreString CopyBytes ReplaceBytes GetBytes GetStoreSize StoreExists Zip Unzip GZipFile GUnzipfile CloseFile DeleteFile DeleteStore, ClearStorage BytesToLong LongToBytes |
License |
While TP.Busy = True WendBack to Top
Important: Requirements for location information functions - GeoLite City Database - GeoLite City database be downloaded from maxmind.com. (Approx. 28 MB) GeoIpComEx.dll - A COM DLL, included in this package, which must be registered. MaxMind makes these "Lite" version geo-location tools available for free. The GetLocationFromIP function of the IPInfo object uses GeoIpComEx.dll to read from the database file. In order to use the IP/Location functions: 1) Go to this URL: http://www.maxmind.com/app/geolitecity 2) Click the link to "Download the latest GeoLite City Binary Format" to get the GeoLite database. 3) Take the .dat file out of the zip file download and rename it to GeoIPCity.dat. Put that in a safe place. 4) Be sure that the file GeoIpComEx.dll has been put somewhere safe, like the System folder, and then register it by dropping it onto the RegSvr.vbs script. 5) Before attempting to use function GetLocationFromIP, call the function EnableLocationData, passing it the path to the GeoIPCity.dat database file. The GetLocationFromIP will not work unless GeoIpComEx.dll has been properly registered and the function EnableLocationData has been called with a valid path to the GeoIPCity.dat database file. Thank you to MaxMind for the use of their database and easy-to-use tools. |