我需要将我拥有的列表与Azure的Blob存储中的文件进行比较,唯一需要的部分是获取该Blob中文件的列表。例如:
blob azureImages
files:
name
something.jpg
asd.jpg
iwda.jpg
my list:
name
something.jpg
asd.jpg
当我将Blob的文件与我的列表进行比较时,我想删除在列表中没有匹配项的文件。
GetContainerReference("container")
后,执行var blobs = blobContainer.GetDirectoryReference("folder1/folder2/folder3").ListBlobs();
这将返回 folder3 中的所有 blob。 - ScubaSteve