JDBC Driver for Google Cloud Storage

Build 25.0.9434

DownloadObject

Passes the name of a bucket and object to download.

Input

Name Type Required Description
Bucket String True Bucket name where the object is located.
Object String False Object name for the object to be retrieved. If not specified, all the objects from the specified bucket are retrieved. The format for downloading a specific object from a subfolder is Object='FolderName/SubfolderName/FileName.'
LocalFolderPath String False The path to the local folder that receives the object.
UpdatedStartDate Datetime False The start of the date range to download objects. If not specified, objects are downloaded from the beginning until the UpdatedEndDate.
UpdatedEndDate Datetime False The end of the date range to download objects. If not specified, objects are downloaded from the specified UpdatedStartDate until the present day.
Encoding String False If the LocalFile input is left empty, the data outputs to FileData in the specified encoding.

The allowed values are NONE, BASE64.

The default value is BASE64.

Result Set Columns

Name Type Description
Object String Object name for the object that is downloaded.
FileData String The base64encoded object data output, if the OutputFolderPath input is empty.
Success String Indicator if the stored procedure was successful or not.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434