## MedplumClient.uploadwithProgress() method

**Signature:**

```typescript
uploadwithProgress(url: URL, data: BinarySource, contentType: string, onProgress: (e: ProgressEvent) => void, options?: MedplumRequestOptions): Promise<any>;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| url | URL |  |
| data | [BinarySource](/content/docs/sdk/core.binarysource) |  |
| contentType | string |  |
| onProgress | (e: ProgressEvent) => void |  |
| options | [MedplumRequestOptions](/content/docs/sdk/core.medplumrequestoptions) | _(Optional)_ |

**Returns:**

Promise<any>

- [MedplumClient.uploadwithProgress() method](/content/docs/sdk/core.medplumclient.uploadwithprogress#medplumclientuploadwithprogress-method/index.html)
- [Parameters](/content/docs/sdk/core.medplumclient.uploadwithprogress#parameters/index.html)
