SSIS Components for Google Drive

Build 25.0.9434

DownloadFile

Fetches and downloads a file from Drive, returning it in the requested format if applicable (for example, PDF, DOCX).

Input

Name Type Description
Id String The unique identifier of the file or resource in Google Drive to be downloaded.
LocalFile String The full path, including the file name, where the downloaded file should be saved on the local system. If left blank, the file will be kept in memory instead of written to disk.
Encoding String Specifies the encoding format to use for the file content if the LocalFile parameter is left blank. The output will be stored in the FileData field using this encoding.
Overwrite Boolean If the value is 'true', the file will overwrite any existing file at the specified LocalFile path. If 'false', the operation will not proceed if a file already exists at that location.
FileFormat String Defines the target file format for converting the downloaded file. Supported formats include application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.oasis.opendocument.text, application/rtf, text/html, text/plain, and application/pdf. Leave this blank to retain the original file format.

Result Set Columns

Name Type Description
FileData String If LocalFile is not specified, the file content is returned here as a binary string or encoded format, depending on the Encoding input.
Success Boolean If the value is 'true', the file was downloaded successfully. If 'false', the operation encountered an error.

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