---
title: FileRequest.lockedFile
slug: Web/API/FileRequest/lockedFile
tags:
  - API
  - DOM
  - Files
  - Non Standard
  - Property
  - Reference
  - WebAPI
---
{{APIRef("File System API")}} {{non-standard_header}}

## Summary

The `lockedFile` property represents the {{domxref("LockedFile")}} object
from which the request was started.

## Syntax

```js
var lockedFile = instanceOfFileRequest.lockedFile
```

## Value

A {{domxref("LockedFile")}} object.

## Specifications

| Specification                        | Status                           | Comment         |
| ------------------------------------ | -------------------------------- | --------------- |
| {{SpecName('FileSystem')}} | {{Spec2('FileSystem')}} | Draft proposal. |

## See also

- {{domxref("FileRequest")}}
- {{domxref("LockedFile")}}
