使用html5文件系统api读取本地文件/目录 [英] Reading local files/directories with html5 filesystem api

查看:883
本文介绍了使用html5文件系统api读取本地文件/目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以使用html5文件系统api读取本地目录的内容,例如C:\ temp,还是只能访问沙盒区域中的文件/目录?

I was wondering if it's possible to read the content of a local directory, for instance C:\temp, using the html5 filesystem api or is it only possible access files/directories in the "sandboxed area"?

推荐答案

HTML5文件系统专为沙盒文件存储而设计,所以不,你不能用它来访问用户的非沙盒文件文件系统。

The HTML5 file system is designed solely for sandboxed file storage, so no, you cannot use it to access files on the user's non-sandboxed file system.

这篇关于使用html5文件系统api读取本地文件/目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆