JDBC Driver for Salesforce Marketing Cloud

Build 24.0.9062

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) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062