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 | Description |
| GistName | String | The identifier of the fork. |
| Name | String | The name of the file. |
| Sha | String | The file version. |
| OwnerLogin | String | The owner of the gist. |
| LocalPath | String | The absolute path where the file will be saved. |
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. |