Qiniu cloud 7.0 SDK private download

Source: Internet
Author: User
We can see that all the downloads from the official website are of version 7.0 or later, but the sdk documentation is of version 6.0. When can we get the sdk documentation of Version 7? Especially for private resources, almost no official website downloads are all versions 7.0 or above, but the sdk documentation is 6.0. When can I get the sdk documentation of 7? In particular, there is almost no download for private resources.

Reply content:

We can see that all the downloads from the official website are of version 7.0 or later, but the sdk documentation is of version 6.0. When can we get the sdk documentation of Version 7? In particular, there is almost no download for private resources.

For more information, see the documentation.

PHP V7SDK documentation

Use Qiniu \ Auth; $ accessKey = 'Access _ key'; $ secretKey = 'secret _ key'; // construct an authentication object $ auth = new Auth ($ accessKey, $ secretKey); // the space to be uploaded $ bucket = 'rainwy'; // The external link in the private space http ://
  
   
/
   
    
$ BaseUrl = 'HTTP: // 7xox85.com1.z0.glb.clouddn.com/resume.doc'#// sign the link $ signedUrl = $ auth-> privateDownloadUrl ($ baseUrl); echo $ signedUrl;
   
  
public function privateDownloadUrl($baseUrl, $expires = 3600)    {        $deadline = time() + $expires;        $pos = strpos($baseUrl, '?');        if ($pos !== false) {            $baseUrl .= '&e=';        } else {            $baseUrl .= '?e=';        }        $baseUrl .= $deadline;        $token = $this->sign($baseUrl);        return "$baseUrl&token=$token";    }

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.