JDBC Driver for Zendesk

Build 25.0.9539

DownloadCommentAttachment

Downloads the specified attachment for a ticket comment.

Input

Name Type Required Accepts Output Streams Description
AttachmentID String True False The attachment ID of the ticket comment.
FilePath String False False The path and name of the file to be downloaded.
Encoding String False False The data is output to FileData in the specified encoding.

The allowed values are NONE, BASE64.

The default value is BASE64.

FileStream String False True The OutputStream to write the downloaded attachment. Only returned if FilePath is not set.

Result Set Columns

Name Type Description
Success String Indicates whether the operation was successful or not.
FileData String The downloaded file content. Only returned if FilePath and FileStream are not set.

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