blob: 7dbf4f75598e5e42a90c488329e12718b42e581d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
---
title: File.fileName
slug: Web/API/File/fileName
tags:
- DOM
- Files
translation_of: Web/API/File/fileName
---
<p>{{APIRef("File API")}}{{non-standard_header}}</p>
<p>{{deprecated_header(7.0)}}</p>
<h2 id="Summary">Summary</h2>
<p>Returns the name of the file. For security reasons the path is excluded from this property.</p>
<div class="note">This property is deprecated. Use {{domxref("File.name")}} instead.</div>
<h2 id="Syntax">Syntax</h2>
<pre>var name = instanceOfFile.fileName</pre>
<h2 id="Value">Value</h2>
<p>A string</p>
<h2 id="Specification" name="Specification">Specification</h2>
<p>Not part of any specification.</p>
<h2 id="See_also">See also</h2>
<ul>
<li>{{domxref("File.name")}}</li>
</ul>
|