<commit_before><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf-8" />
    <title>Directory Upload</title>
    <script src="https://www.w3.org/Tools/respec/respec-w3c-common" async class="remove"></script>
    <script class="remove">
      var respecConfig = {
        shortName:      "DirectoryUpload",
        specStatus:     "webspec",
        editors:        [{name: "<NAME>", company: "Microsoft"},
                         {name: "<NAME>", company: "Mozilla"},
                         {name: "<NAME>", company: "Mozilla"}],
        processVersion: 2005,
        wg:             "Web Platform Incubator Community Group",
        wgURI:          "https://www.w3.org/community/wicg/",
        wgPublicList:   "public-wicg",
        subjectPrefix:  "[directory-upload]",
        repository:     "wicg/directory-upload", 
      };
    </script>
  </head>
  <body>
    <section id="abstract">
      <p>
        This spec enables directory uploading by allowing a developer to read directory contents (files and sub-directories) asynchronously and be able to identify the directory structure. This specification proposes changes to [[!HTML]] (in particular, additional API surface on <code>HTMLInputElement</code>, along with an additional atribute on the <code>&lt;input ...&gt; </code>element) as well as a new specification called <em>Directory Upload</em> which brings directories to the web.
      </p>
    </section>
    <section id="sotd">
      <p>
        This spec is currently being proposed within the WICG (Web Incubator Community Group) with the expectation that there may be changes, and that aspects of this proposal will eventually be part of the [[!HTML]] and [[!FileAPI]] standards.
      </p>
    </section>
    <section class="informative">
      <h2>Introduction</h2>
      <section>
        <h2>Background</h2>
        <p>Websites are currently able to provide functionality for uploading files by using <code class="hightlight">&lt;input type="file" multiple></code> and drag and drop. However, there currently is no standard solution to handle directories and cases that involve a mix of files and directories. This spec will provide the necessary mechanisms to enable directory uploading.</p>
        
      </section>
      <section><commit_msg>Change spec template<commit_after><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf-8" />
    <title>Directory Upload</title>
    <script src="https://www.w3.org/Tools/respec/respec-w3c-common" async class="remove"></script>
    <script class="remove">
      var respecConfig = {
        shortName:      "DirectoryUpload",
        specStatus:     "CG-DRAFT",
        editors:        [{name: "<NAME>", company: "Microsoft"},
                         {name: "<NAME>", company: "Mozilla"},
                         {name: "<NAME>", company: "Mozilla"}],
        processVersion: 2005,
        wg:             "Web Platform Incubator Community Group",
        wgURI:          "https://www.w3.org/community/wicg/",
        wgPublicList:   "public-wicg",
        subjectPrefix:  "[directory-upload]",
        repository:     "wicg/directory-upload", 
      };
    </script>
  </head>
  <body>
    <section id="abstract">
      <p>
        This spec enables directory uploading by allowing a developer to read directory contents (files and sub-directories) asynchronously and be able to identify the directory structure. This specification proposes changes to [[!HTML]] (in particular, additional API surface on <code>HTMLInputElement</code>, along with an additional atribute on the <code>&lt;input ...&gt; </code>element) as well as a new specification called <em>Directory Upload</em> which brings directories to the web.
      </p>
    </section>
    <section id="sotd">
      <p>
        This spec is currently being proposed within the WICG (Web Incubator Community Group) with the expectation that there may be changes, and that aspects of this proposal will eventually be part of the [[!HTML]] and [[!FileAPI]] standards.
      </p>
    </section>
    <section class="informative">
      <h2>Introduction</h2>
      <section>
        <h2>Background</h2>
        <p>Websites are currently able to provide functionality for uploading files by using <code class="hightlight">&lt;input type="file" multiple></code> and drag and drop. However, there currently is no standard solution to handle directories and cases that involve a mix of files and directories. This spec will provide the necessary mechanisms to enable directory uploading.</p>
        
      </section>
      <section>
{'fraction_non_alphanumeric': 0.11842105263157894, 'fraction_numerical': 0.007333908541846419, 'mean_word_length': 2.903198653198653, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 87, 'https://': 4, 'lorem ipsum': 0, 'www.': 6, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2169097', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1224, 'n_words': 443}