简体   繁体   English

AWS - S3从bucket->文件夹PHP获取对象

[英]AWS - S3 get objects from bucket->folder PHP

i am new for the AWS S3. 我是AWS S3的新手。 i wanted to know the best way to retrieve data from the AWS with bucket -> folder -> objects 我想知道使用bucket -> folder -> objects从AWS检索数据的最佳方法

i am using with PHP sdk. 我正在使用PHP sdk。 i have downloaded SDK from the AWS but its not working fine. 我从AWS下载了SDK,但它无法正常工作。 or i may be wrong with the steps. 或者我可能错误的步骤。 can anyone suggest me the best sdk ready-made that i can use for AWS S3. 任何人都可以建议我最好的sdk现成的,我可以用于AWS S3。

in functionality that i am developing the hierarchy level as below 我在开发层次结构级别的功能如下所示

-> Bucket
  -> Folder 1 (video)
       -> objects (all video file here)
  -> Folder 2 (video)
       -> objects (all video file here)
  -> Folder 3 (image)
       -> objects (all image file here)

i want to know all download, upload and delete objects from bucket->folders 我想知道所有从bucket->folders下载,上传和删除对象

Install http://s3tools.org/usage s3cmd with either apt-get or yum and follow directions on here: http://s3tools.org/usage 使用apt-getyum安装http://s3tools.org/usage s3cmd并按照此处的说明进行操作: http//s3tools.org/usage

Within YII you can use php exec or system to get output and results feedback. 在YII中,您可以使用php exec或system来获取输出和结果反馈。

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

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