阅读背景:

在php中,我想将s3文件下载到浏览器而不将其存储在我的服务器上

来源:互联网 

I've got files on Amazon's S3. They are named with a unique ID so there are no duplicates. I am accessing them using an authorized URL. I need to be able to pass them through to the browser, but I need to rename them. Right now I'm using fopen, but it is downloading the file to my server before serving the file to the browser. How can I have the files 'pass through' my server to the browser? Or how do I buffer the download - downloading a small chunk to my server and pass that to the browser while downloading the next chunk?I've got files on Amazon's S3. They are named w




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: