一次将多个文件上传到azure blob [英] Upload multiple files to azure blob at a time

查看:84
本文介绍了一次将多个文件上传到azure blob的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将文件上传到azure blob,我已引用代码相同.而且我也能够成功上传文件,我的问题是..

i am trying to upload files to azure blob, i have referred this code for the same. and i am able to successfully upload files too, my problem is..

使用此代码,我必须一个接一个地上传文件,并且一次获取多个文件,因此每次我需要遍历列表并一个接一个地传递文件

using this code i have to upload files one by one and i am getting more than one files at a time so each time i need to iterate over the list and pass files one by one

我要做的是一次性将所有文件上传到azure blob.

what i want to do is to upload all files to azure blob in one go.

我尝试在Internet上搜索,但找不到任何方法:(

i tried searching on internet but unable to find any way :(

请帮助

推荐答案

与Java不相关,但是您可以签出可能对您有用的AzCopy工具.它支持并行上传Blob. http://blogs.msdn.com/b/windowsazurestorage/archive/2012/12/03/azcopy-uploading-downloading-downloads-files-for-windows-azure-blobs.aspx http://blogs.msdn.com/b/windowsazurestorage/archive/2013/09/07/azcopy-transfer-data-with-re-startable-mode-and-sas-token.aspx

Not relevant to Java, but you may check out the AzCopy tool which might be useful to you. It supports uploading blobs in parallel. http://blogs.msdn.com/b/windowsazurestorage/archive/2012/12/03/azcopy-uploading-downloading-files-for-windows-azure-blobs.aspx http://blogs.msdn.com/b/windowsazurestorage/archive/2013/09/07/azcopy-transfer-data-with-re-startable-mode-and-sas-token.aspx

这篇关于一次将多个文件上传到azure blob的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆