和PHP调用PutBlockList上载一个blob到Windo

和PHP调用PutBlockList上载一个blob到Windo

本文介绍了如何通过它分割成块,并使用REST和PHP调用PutBlockList上载一个blob到Windows Azure的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请有人可以张贴一些code,或给我们如何可以拆分为块,并使用REST和PHP调用PutBlockList上传的Blob Azure存储的参考。我有相同的使用.NET code参考这里http://wely-lau.net/2012/02/26/uploading-big-files-in-windows-azure-blob-storage-with-putlistblock/

Please can someone post some code or give a reference on how we can upload a blob to azure storage by splitting it into chunks and calling PutBlockList using REST and PHP. I have a reference to the same using .NET code here http://wely-lau.net/2012/02/26/uploading-big-files-in-windows-azure-blob-storage-with-putlistblock/

推荐答案

看一看的Windows Azure SDK的PHP:的尤其是这:https://github.com/WindowsAzure/azure-sdk-for-php/blob/master/WindowsAzure/Blob/BlobRestProxy.php.你既可以使用SDK的是还是看code理解BLOB上传是如何实现的。

Take a look at Windows Azure SDK for PHP: https://github.com/WindowsAzure/azure-sdk-for-php especially this: https://github.com/WindowsAzure/azure-sdk-for-php/blob/master/WindowsAzure/Blob/BlobRestProxy.php. You could either use the SDK as is or look at the code to understand how blob upload is implemented.

这篇关于如何通过它分割成块,并使用REST和PHP调用PutBlockList上载一个blob到Windows Azure的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 13:16