TDV Adapter for Google Drive

Build 21.0.8137


Downloads a file from the user's Google Drive.


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 String What to do when downloaded file exists. Set true to overwrite.

The allowed values are true, false.

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) 2022 CData Software, Inc. - All rights reserved.
Build 21.0.8137