JDBC Driver for Trello

Build 22.0.8462

DownloadAttachment

Downloads an attachment from a card. If AttachmentId is not assigned a value, the provider will check how many attachments does the card have, if one it will continue downloading that attachment, if more it will stop and request for an AttachmentId.

Input

Name Type Required Accepts Output Streams Description
CardId String True False The ID of the card that has the attachment.
AttachmentId String False False The ID of the attachment to download. Required if the card has multiple attachments.
LocalFolder String False False The local file path for the location where the file will be saved on disk.
FileStream String False True An instance of an output stream where file data is written to. Only used if LocalFolder is not set.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.
FileName String The file name for the downloaded attachment.
FileData String File data that will be outputted encoded in Base64 if the LocalFolder input is empty.

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