JDBC Driver for Salesforce Marketing Cloud

Build 22.0.8462

GetFileForAnAsset

Gets the binary file for an asset.

Input

Name Type Required Accepts Output Streams Description
AssetId Integer True False The ID of the asset.
DownloadPath String False False The Location where the file will be stored.
FileStream String False True An instance of an output stream where file data is written to. Only used if DownloadPath is not provided.

Result Set Columns

Name Type Description
Success Boolean Returns True if the download succeeded.
Content String A Base64-encoded string of the file.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462