# FileProgressEvent Interface

> FileProgressEvent interface in the TX Sheet Control TypeScript API for Node.js: Processing stage, with real work counts when available.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > FileProgressEvent Interface
- **525 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/llms-full.txt

---

Processing stage, with real work counts when available. Missing total means indeterminate, never an estimated percentage.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Members

#### Properties

| Property | Description |
|---|---|
| [byteLength](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/bytelength-property/llms-full.txt) | Input or output byte count, when known. |
| [completed](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/completed-property/llms-full.txt) | The completed value of FileProgressEvent. |
| [operation](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/operation-property/llms-full.txt) | The operation value of FileProgressEvent. |
| [operationId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/operationid-property/llms-full.txt) | The operationId value of FileProgressEvent. |
| [phase](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/phase-property/llms-full.txt) | The phase value of FileProgressEvent. |
| [streamType](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/streamtype-property/llms-full.txt) | The streamType value of FileProgressEvent. |
| [total](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/total-property/llms-full.txt) | The total value of FileProgressEvent. |
| [unit](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/unit-property/llms-full.txt) | The unit value of FileProgressEvent. |

### Examples

Pass the FileProgressEvent value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
function inspectFileProgressEventPhase(fileProgressEvent: { phase: unknown }) {
    const value = fileProgressEvent['phase'];
    console.log('FileProgressEvent.phase', value);
}
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Events and Cancellation](https://docs.textcontrol.com/tx-sheet-control/spreadsheet-editor/events/llms-full.txt)

---

## In This Section

- [FileProgressEvent.byteLength Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/bytelength-property/llms-full.txt): FileProgressEvent.byteLength property in the TX Sheet Control TypeScript API for Node.js: Input or output byte count, when known.
- [FileProgressEvent.completed Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/completed-property/llms-full.txt): FileProgressEvent.completed property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.
- [FileProgressEvent.operation Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/operation-property/llms-full.txt): FileProgressEvent.operation property in the TX Sheet Control TypeScript API for Node.js, with its type "load" | "save" and a TypeScript example.
- [FileProgressEvent.operationId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/operationid-property/llms-full.txt): FileProgressEvent.operationId property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.
- [FileProgressEvent.phase Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/phase-property/llms-full.txt): FileProgressEvent.phase property in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.
- [FileProgressEvent.streamType Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/streamtype-property/llms-full.txt): FileProgressEvent.streamType property in the TX Sheet Control TypeScript API for Node.js, with its type StreamType and a TypeScript example.
- [FileProgressEvent.total Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/total-property/llms-full.txt): FileProgressEvent.total property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.
- [FileProgressEvent.unit Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/unit-property/llms-full.txt): FileProgressEvent.unit property in the TX Sheet Control TypeScript API for Node.js, with its type "bytes" | "pages" | undefined and a TypeScript example.

---

## Nearby

- **Previous:** [FileOperationStartingEvent.streamType Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileoperationstartingevent/streamtype-property/llms-full.txt)
- **Next:** [FileProgressEvent.byteLength Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fileprogressevent/bytelength-property/llms-full.txt)
