TDV Adapter for Google Drive

Build 22.0.8462

DownloadFile

Downloads a file from the user's Google Drive.

Input

Name Type Description
Id String The Id of the resource to be downloaded.
LocalFile String The local file path including the file name for the location where the file will be saved on disk. Leave empty to keep the file in memory.
Encoding String If the LocalFile input is left empty, the data will be output to FileData in the specified encoding.

The allowed values are NONE, BASE64.

The default value is BASE64.

Overwrite Boolean What to do when downloaded file exists. Set true to overwrite.

The default value is false.

FileFormat String Used for converting the downloaded file to a different file type. Files may only be converted up to 10MB. Leave this blank to download the file in the same format it is stored in Google. The possible values are application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.oasis.opendocument.text, application/rtf, text/html, text/plain, and application/pdf.

Result Set Columns

Name Type Description
FileData String If the LocalFile input is empty, file data will be output in the format specified by the Encoding input.
Success String This value shows a boolean indication of whether the operation was successful or not.

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