# emitUploadProgress

Emit an upload progress event. This is typically used internally, but can be useful if you want to manually trigger an upload progress update.

### Usage

```ts
myRemoteStorage.emitUploadProgress(percent, fileName);
```

### Returns

`void`

This method does not return any value.

### Parameters

#### percent

* **Type** `number`

The progress percentage (0-100) of the upload.

#### fileName (Optional)

* **Type** `string`

The name of the file currently being uploaded.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.4thtech.io/sdk/storage/remote-storage-provider/emituploadprogress.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
