ADO.NET Provider for Quickbase

Build 25.0.9539

DownloadFile

Download the file attachment specified in the record.

Input

Name Type Required Accepts Output Streams Description
TableId String True False The unique identifier (dbid) of the table where the attachment is stored.
FieldId Int64 True False The unique identifier (fid) of the field where the attachment is stored. It needs to be a file attachment field.
RecordId Int64 True False The unique identifier of the record where the attachment is stored.
VersionNumber Int64 True False The file attachment version number.
Encoding String False False The FileData input encoding type. The allowed values are NONE, BASE64.

The allowed values are NONE, BASE64.

The default value is BASE64.

FileLocation String False False Path to save the downloaded file. If a file exists, a new name is generated. If a directory, uses the original file name.
FileStream String False True An instance of an output stream where file data is written to. Only used if FileLocation is not provided.

Result Set Columns

Name Type Description
Success Boolean Whether the operation is successful or not.
ErrorMessage String Error message or details if any.
FileData String The content of the file, if the FileLocation or FileStream input is empty.
FileName String The name of the file where content is downloaded.

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