Introduction to the external PHP interface of Sina SAE Storage cloud Storage

Source: Internet
Author: User
Tags auth

SAE Storage can be managed using the client: developers can use the Cyberduck client to upload large files to Storage. We recommend that the size of a single file not exceed 2 GB.

Type: Swift.
Server: auth.sinas3.com
Port 443 (default)
User Name: application AccessKey (view on the application "summary information" page)
Password: application SecretKey (view on the application "summary information" page)
After entering the information, click Connect. If you have questions about auth.sinas3.com and api.sinas3.com, Select Trust.

Since you can use a GUI client with the Swift type, you can also use the php client of OpenStack for operations. Non-sae php environments are suitable for your own VPS or virtual hosts.

OpenStack/Rackspace official PHP version here:

Http://php-opencloud.com/

Swift interface:

Https://github.com/rackerlabs/php-cloudfiles

SAE port version for SAE employees:

Https://github.com/xiaosier/php-saestorage


I have compared the transplanted version with the official version, but it has not changed much. You can use the official version directly.

For some reason, I tested the official version by myself. I tested the methods of writing files, uploading files, deleting files, and obtaining public URLs of files.

Code address: https://github.com/acczefly/php_sae_storage


This is much more convenient, at least avoiding the restrictions of SAE Runtime ,,

Related Article

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.