Home > Backend Development > PHP Tutorial > How SAE implements file upload

How SAE implements file upload

WBOY
Release: 2016-08-04 09:20:49
Original
1072 people have browsed it

Now there is such a business. I need to upload pictures to Qiniu Cloud.

Pictures are pictures from other websites

I use curl to download these pictures, save them locally, and then transfer them to Qiniu Cloud.

However, due to permission issues (the default permissions of sae), I cannot temporarily save the pictures obtained by curl on sae first.

So I can’t pass to Qiniu Cloud.

Excuse me, how should I solve it?

Reply content:

Now there is such a business. I need to upload pictures to Qiniu Cloud.

Pictures are pictures from other websites

I use curl to download these pictures, save them locally, and then upload them to Qiniu Cloud.

However, due to permission issues (the default permissions of sae), I cannot temporarily save the pictures obtained by curl on sae first.

So I can’t pass to Qiniu Cloud.

Excuse me, how should I solve it?

hi, you can call Qiniu’s fetch api interface
http://developer.qiniu.com/code/v6/api/kodo-api/rs/fetch.html

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template