> For the complete documentation index, see [llms.txt](https://pmsgz.gitbook.io/nectar/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pmsgz.gitbook.io/nectar/advanced/web-apis/file.md).

# File API

## Overview

File API provides access to the filesystem-level information about the files such as name, size, MIME type, last modified date, content without sending the file to the server.

## Demo

<https://nectar.website/demo/web-apis/file/>

## Usage

You can refer to the code present in `/partials/web-apis/file.html` file and use it accordingly.

## Reference

<https://developer.mozilla.org/en-US/docs/Web/API/File_API>
