# Javascript: FileDroppedEventArgs.fileSize Property

> The size of the file in bytes.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: FileDroppedEventArgs.fileSize Property
- **153 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/filedroppedeventargs/filesize-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/filedroppedeventargs/filesize-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/filedroppedeventargs/filesize-property/llms-full.txt

---

### Description

The size of the file in bytes.

### Syntax

```javascript
<number> FileDroppedEventArgs.fileSize
```

### Examples

The following example demonstrates `FileDroppedEventArgs.fileSize` in a practical document-editing workflow. The size of the file in bytes.

```javascript
function inspectFileSize(fileDroppedEventArgs) {
    const fileSize = fileDroppedEventArgs.fileSize;
    console.log("file size:", fileSize);
}
```

---

## Nearby

- **Previous:** [Javascript: FileDroppedEventArgs.fileName Property](https://docs.textcontrol.com/ds-server/reference/javascript/filedroppedeventargs/filename-property/llms-full.txt)
- **Next:** [Javascript: FileDroppedEventArgs.fileType Property](https://docs.textcontrol.com/ds-server/reference/javascript/filedroppedeventargs/filetype-property/llms-full.txt)
