API Reference > imodeljs-clients > iTwinServiceClients > FileHandler > uploadFile uploadFile Method Upload a file. uploadFile(requestContext: AuthorizedClientRequestContext, uploadUrlString: string, path: string, progress?: (progress: ProgressInfo) => void): Promise<void> Parameter Type Description requestContext AuthorizedClientRequestContext The client request context uploadUrlString string path string Path of the file to be uploaded. progress (progress: ProgressInfo) => void Returns - Promise<void> Defined in core/clients/src/FileHandler.ts Line 34 Last Updated: 13 June, 2024