downloadFile Method
Download a file.
downloadFile(requestContext: AuthorizedClientRequestContext, downloadUrl: string, path: string, fileSize?: number, progress?: (progress: ProgressInfo) => void): Promise<void>
Parameter | Type | Description |
---|---|---|
requestContext | AuthorizedClientRequestContext | The client request context |
downloadUrl | string | URL to download file from. |
path | string | Path to download the file to, including file name. |
fileSize | number | Size of the file that's being downloaded. |
progress | (progress: ProgressInfo) => void |
Defined in
Last Updated: 08 January, 2020