Investment Studio > Views > Downloads > Downloader > ActiveX interface > DLOutput > save

VARIANT_BOOL DLOutput.save(long index, BSTR path)

Saves the data retrieved from the URL identified by index to the specified file path.

index is the URL's position in the download item's URL list.

path is a path to a file. Symbolic directory names (e.g. "<DATA>") in the path are automatically expanded to actual directory names.

The data (e.g. an image or a PDF document) is saved as retrieved, unmodified.

Returns TRUE if the data is saved successfully, FALSE otherwise.

See also DLOutput.addQuote, DLOuput.addQuoteEx, DLInput.args, DLInput.read, DLInput.url, DLInput.targetPath.