CData Python Connector for HubSpot

Build 23.0.8839

DownloadFile

Download a file. Requires files or files.ui_hidden.read as a scope.

Input

Name Type Description
FileId String ID of file.
Size String For image files. This will resize the image to the desired size before sharing. Does not affect the original file, just the file served by this signed URL.

The allowed values are thumb, icon, medium, preview.

Upscale Boolean If size is provided, this will upscale the image to fit the size dimensions.

The default value is false.

ExpirationSeconds Long How long in seconds the link will provide access to the file.
LocalPath String The local file path for the location where the file will be saved on disk.

Result Set Columns

Name Type Description
Success String Whether or not the stored procedure was successful.
Details String Any extra details on the stored procedure's execution.
Url String Signed URL with access to the specified file. Anyone with this URL will be able to access the file until it expires.
ExpiresAt String Timestamp of when the URL will no longer grant access to the file.
Name String Name of the requested file.
Extension String Extension of the requested file.
Type String Type of the file. Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER.
Size String Size in bytes of the requested file.
Height String For image and video files. The height of the file.
Width String For image and video files. The width of the file.
FileData String File data that will be outputted encoded in BASE64 if the LocalPath and FileStream inputs are empty.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839