Window.requestFileSystem (type, size, successCallback);

does anyone know the size limit of the above request to access the size in the sandboxie function? My need is to achieve a web version of the file management system, the main function is to achieve large file cutting upload and breakpoint continuation function. The idea of the breakpoint continuation of the download process is that before downloading a file, read the local cache folder to determine whether the file already exists, and then get the contents of the file if it already exists, and then only need to download and write part of the contents of the file to the file, mainly using the file.slice () function. Because JS cannot manipulate local files, but FileSystem API has sandboxie files for users to operate, my idea is to use sandboxie as that file directory and request the sandboxie before each file request to determine whether there are any files in the sandboxie to download (because sandboxie has FileReader and Filewriter can be used to manipulate files to resume upload at breakpoints, in fact, the files are not downloaded to the user"s operating system directory. The problem now is that you don"t know when you request sandboxie to allocate space (that is, call window.requestFileSystem (type, size, successCallback [, errorCallback]); ), in which the size has no size limit, probably how much, because my system is mainly used to deal with large files, I do not know whether sandboxie has a size limit. For the operation of sandboxie in
FileSystem, please see https://github.com/guangying1.

.
Mar.03,2021
Menu