ADO.NET Provider for Vault CRM

Build 26.0.9655

DownloadDirectDataFilePart

Download the specified Direct Data file.

You can use the GetDirectDataFiles stored procedure to retrieve a list of available files.

Input

Name Type Required Accepts Output Streams Description
FilePartName String True False The name of the Direct Data file part, for example '146478-20240213-0000-F.001'. You can find this value in the JSON aggregate returned by the GetDirectDataFiles procedure, in each file's filepart_details.name attribute.
DownloadLocation String False False The local path you want to download the specified file to. You can either rename the downloaded file by specifying a new name for it at end of your path (for example, C:\\Users\\Public\\zip1.tar.gz) or specify a directory (for example, :\\Users\\Public) to download the file in the specified folder and keep the file's original name.
FileStream String False True An instance of an output stream where file data is written to. Only used if DownloadLocation is not provided.

Result Set Columns

Name Type Description
Success String Whether the procedure was successful.
FilePartName String The name of the Direct Data file that was successfully downloaded. If you set DownloadLocation to a path targeting a folder, the name from filepart_details.name is shown here. If you specified a custom filename at the end of the DownloadLocation path, the custom name is reflected here instead.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655