Check if file has changed using HTML5 File API

后端 未结 3 1996
生来不讨喜
生来不讨喜 2020-11-30 03:46

Okay, so I have a program which outputs some specific data to a tab separated variable file.

I had been using Excel to open and view the file contents, however I fou

3条回答
  •  一整个雨季
    2020-11-30 03:56

    While T.J. Crowder's answer is correct, Chrome's implementation appears to break the spec.

    Each Blob must have an internal snapshot state, which must be initially set to the state of the underlying storage, if any such underlying storage exists, and must be preserved through structured clone. Further normative definition of snapshot state can be found for files.

    When a file is selected the input has a snapshot of the contents at that point. Local changes on disk don't update the snapshot.

提交回复
热议问题