Investment Studio > Views > Downloads > Downloader > ActiveX interface > DLInput > read

BSTR DLInput.read(long index)

Returns a string containing the data retrieved from the indexed entry in the download item's URL list. Can be used in the downloader script's parsing method or in a crawling URL generator when DLInput.currentLevel > 0.

index is an integer in the range [1, DLInput.nUrls]. URLs are listed according to order of addition (when URLs are crawled, child URLs are inserted immediately after their parent URL).

See also DLInput.currentLevel, DLInput.mime, DLInput.nUrls, DLInput.url, DLInput.urlLevel.