通过 http 自动从 Flex 发送文件

发布于 2024-12-15 10:34:28 字数 87 浏览 2 评论 0原文

我有一个数据库文件需要发送到 PHP 控制器进行同步。我可以访问 AS3 中的标准文件上传方法,但它们都需要用户交互。我需要这一切在幕后进行。任何建议表示赞赏。

I have a database file I need to send to a PHP controller for synchronization. I can access the standard file upload methods in AS3 but they all require user interaction. I need this take place behind the scenes. Any suggestions are appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浸婚纱 2024-12-22 10:34:28

cbroughton 建议的链接适用于 AIR 应用程序。只有您能够通过 html 页面从客户端计算机读取.. 而不需要用户交互.. 的文件是 SharedObject(如 cookie)。

Link suggested by cbroughton works with AIR application. Only file you are able to read via html page ..from clients computer.. without requiring user interaction.. is SharedObject (like a cookie).

雨后咖啡店 2024-12-22 10:34:28

好吧,我确信用户有一种方法可以为您提供对 flash 对象目录中的文件的永久授权;但如果这种行为存在,文件系统上的其他任何地方都会让我担心。

请参阅:此链接了解可能的子解决方案。

Well, I am sure there is a way for the user to give you a permanent grant on a file within the flash objects directory; but anywhere else on the file-system would worry me if this behavior existed.

See: This link for a possible sub-solution.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文