我的要求是使用SAS URL将文件列表从客户端(浏览器)复制到azure blob。所以我使用azure-sdk-for-node,但它看起来不适合我。有人可以推荐任何解决方案或任何其他库吗?
var azure = require('azure-storage');
var blobSvc = azure.createBlobServiceWithSas('https://XXXXXXXXXX', 'XXXXXXXXX"');
blobSvc.createBlockBlobFromBrowserFile('testmigration', 'taskblob', 'abc.txt', function (error, result, response){
if (!error) {
console.log('file uploaded failed', error);
} else {
console.log('file uploaded success');
}})
错误:blobSvc.createBlockBlobFromBrowserFile不是函数