简体   繁体   English

是否有跨浏览器解决方案在客户端上创建目录?

[英]Is there a cross-browser solution to create a directory on a client?

由于ActiveXObjects仅与IE兼容,有人可以给我一个替代文件系统对象,该对象的功能与ActiveX相同,并且与chrome浏览器兼容吗?

You can check the HTML5 File API http://html5demos.com/file-api 您可以检查HTML5文件API http://html5demos.com/file-api

You can save up to 25 megabytes without requesting the user permission, may vary from browser to browser. 您可以在不请求用户许可的情况下最多保存25 MB,这可能因浏览器而异。 You can't access the disk, only a special folder create for your domain. 您无法访问磁盘,只能为您的域创建一个特殊的文件夹。

However I'm not sure about what you want. 但是我不确定你想要什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM