Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   Communications (http://www.xtremevbtalk.com/communications/)
-   -   Does Internet Transfer Control Navigate Or Just Download Source (http://www.xtremevbtalk.com/communications/327538-internet-transfer-control-navigate-download-source.html)

vblumberguy 03-22-2015 09:44 PM

Does Internet Transfer Control Navigate Or Just Download Source
I am using the Internet Transfer Control to simply save html and parse it.

I am curious if there is script on a web page and I am simply saving the page source using ITC, does it actually navigate and run the script?

The reason I ask is, I had the control download source code from a URL that Avast flagged as having a PUP. Avast successfully blocked it, but I am wondering if ITC actually does navigate and run javascript, cgi, etc... behind the scenes wven if all I am doing is a direct download of the page's source file.

Thank you

Flyguy 03-23-2015 03:27 AM

To my knowledge it just download the data, no parsing or whatever.

dilettante 03-23-2015 08:57 PM

Using the ITC isn't very "direct" at all, since it just pulls strings to make the puppet dance inside the big ball of software making up IE (or at least the portion of IE that was split off a few versions of Windows ago). I would expect linked resources such as stylesheets, script, images, etc. to be fetched and cached as well as triggering antivirus hooks. Your experience seems to prove that an HTML resource does indeed get parsed when fetched, though I would not expect scripts to be executed since the rendering engine (Trident) does not get called.

About the only reason I can imagine the ITC being used in the last 15 years might be access to the extinct FTP protocol, something Microsoft stopped implementing as usage died out around the year 2000. You rarely see FTP in use today outside the Mad Max dystopia of cheap LAMP hosting.

For HTTP we've had far better alternatives for a very long time. Look at the WinHttpRequest object for example, which has been stable and part of Windows since Win2K SP3/WinXP SP1.

All times are GMT -6. The time now is 03:05 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.