JDBC Driver for GitHub

Build 26.0.9655

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 Required Accepts Output Streams Description
GistName String True False The identifier of the fork.
Name String True False The name of the file.
Sha String False False The file version.
OwnerLogin String False False The owner of the gist.
LocalPath String False False The absolute path where the file will be saved.
OutputStream Binary False 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) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655