JDBC Driver for GitHub

Build 25.0.9434

DownloadFile

Download a file from a gist.

Sample


EXECUTE [Gist].[DownloadFile] GistName='d7e43b9c1a285c14f62af9803e1d47c8', Name='file.txt'
EXECUTE [Gist].[DownloadFile] GistName='d7e43b9c1a285c14f62af9803e1d47c8', Name='file.txt', Sha='e4b93ac9d12f48f0b7c2fa45a1e5d8c6394fd3ab'

Input

Name Type Accepts Output Streams Description
GistName String False The identifier of the fork.
Name String False The name of the file.
Sha String False The file version.
OwnerLogin String False The owner of the gist.
LocalPath String False The absolute path where the file will be saved.
OutputStream Binary True An instance of an output stream where file data is written to. Only used if LocalPath is not set.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
FileData String If the LocalPath and FileStream inputs are empty, file data will be output as BASE64.

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