为什么具有文件名$$$.$$$的blob出现在Azure目录列表中? [英] Why does a blob with filename $$$.$$$ appear in Azure directory listing?

查看:69
本文介绍了为什么具有文件名$$$.$$$的blob出现在Azure目录列表中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道为什么当我在这样的目录中列出blob时:

Does anyone know why when I list a blobs in a directory like this:

var container = BlobClient.GetContainerReference(containerName);
var blobs = container.GetDirectoryReference(fileStroageLocation).ListBlobs().ToList();

我找到了我上载的两个文件和一个名为$$$$$的文件.如果我使用Azure文件存储浏览器CloudXplorer,则看不到该文件.

I find the two files I uploaded and an additional blob with the filename $$$.$$$. If I use an Azure file storage browser CloudXplorer I don't see the file.

我可以通过忽略该文件名来过滤掉它.只是想知道为什么会在那里?如果有特殊含义呢?它是如何创建的?如果有更好的排除方法.在搜索"$$$.$$$"时,Google似乎并不是很有帮助!

I can filter it out by ignoring that filename however. Just wondered why it was there? If there is special meaning to it? How it got created? If there is a better way to exclude. Google doesn't seem very helpful when searching for "$$$.$$$"!

谢谢

Graeme

推荐答案

我不记得是哪个,但是某些存储工具在用户界面中创建目录时会将该文件创建为占位符.由于Blob存储没有目录的概念,因此无法创建container/dir,因此某些工具会创建container/dir/$$$.$$$.

I don't remember which, but some storage tools create that file as a placeholder when you create directories in their UI. Because blob storage doesn't have a concept of a directory, there's no way to create container/dir, so some tools create container/dir/$$$.$$$ instead.

如果CloudXplorer没有向您显示文件,我猜是CloudXplorer是创建该文件的工具.

If CloudXplorer isn't showing you the file, my guess is CloudXplorer is the tool that created it.

这篇关于为什么具有文件名$$$.$$$的blob出现在Azure目录列表中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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