Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020년 1월.
File() 생성자는 File 객체의 새로운 인스턴스를 생성합니다.
File 객체 내에 저장할 데이터를 나타내는 Array입니다. ArrayBuffer, ArrayBufferView, Blob, 문자열을 요소로 제공할 수 있습니다. USVString 객체는 UTF-8로 인코딩해 사용합니다.
name파일의 이름이나 경로를 나타내는 문자열입니다.
options Optional파일 특성을 추가로 지정할 수 있는 옵션 객체입니다. 가능한 옵션은 다음과 같습니다.
| File API # file-constructor |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 6월 24일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.