从字preSS上传文件到Amazon S3 [英] Upload files to amazon s3 from wordpress

查看:158
本文介绍了从字preSS上传文件到Amazon S3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索和研究,但我似乎无法找到任何解决方案。 我真的需要从字preSS页/后编辑画面内集成了一个Amazon S3的上传。有迹象表明,全部上传到S3,但即使不是一个只上传选择的文件一吨的插件。

I've searched and researched but I cannot seem to find any solution. I really need to integrate an amazon s3 uploader from within the wordpress page/post edit screen. There are a ton of plugin that upload everything to s3 but not even one that upload only selected files.

理想的情况是添加一个额外的标签到WP媒体库即直接上传到S3 ...... unfortunetely我不能找到一种方法,使其工作。

The ideal scenario would be adding an extra tab to the wp media gallery that uploads directly to s3...unfortunetely I cannot find a way to make it work.

我跟着各种教程,我已经成功上传文件通过PHP到S3,但我不能在WP做到这一点。

I followed various tutorials and I've managed to upload files to s3 via php, but I cannot do it within WP.

有可能? 任何人都可以帮助我,或点我朝着正确的方向?

It is that even possible? Could anyone help me or point me in the right direction?

谢谢大家提前任何帮助或提示,你可以给我。

I thank you all in advance for any help or tips you could give me.

问候, 安东尼奥

推荐答案

在使用这个插件,的 HTTPS://word$p$pss.org/plugins/amazon-s3-and-cloudfront/

这不受限制的政策建议的插件。

This unrestrictive policy is suggested by the plugin.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": "*"
    }
  ]
}

这篇关于从字preSS上传文件到Amazon S3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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