Flash/Flex 文件系统的限制?
是否有什么因素阻止 Flash 网站使用其文件系统/缓存存储数GB 数据?有什么限制?
Is there anything preventing a Flash website from storing several gigs of data using its filesystem / cache? What are the limitations?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Flash 中下载就像下载其他任何东西一样,它需要询问用户要将其保存到哪里。
然而,为了“保存”几GB数据意味着数据需要已经在客户端开始(这是你不想要的)。我认为更好的选择是让 flash 对他们想要保存的文件发出 http 请求,然后浏览器从那里接管它。
否则,如果您要保存的是流数据,我认为您无法将其直接从闪存保存到硬盘。为此你需要空气。
Downloading in Flash is just like downloading anything else, it needs to ask the user where do they want to save it to.
However, for 'saving' several gigs of data means that the data needs to be already on the client side to start with (which you don't want). I think the better option is to have flash do an http request to the file they want to save and from there the browser takes it over.
Otherwise, if it's streaming data that you want to save, I don't think you can save it to the harddrive directly from Flash. You'll need Air for that.