I use ListObject function without any delimiters and as result I have something that look like:/BF/BF/FTP/BF/MUSIC/LIBRARY/AUDITION/BEAKING%20EARLY.MP3/BF/VIDEO//BF/VIDEO/Example/BF/VIDEO/Example/test.mp4The problem is in the music folder. Why ListObjects doesn't return S3Object with key: "/BF/MUSIC". There are many S3Objects with the same problem. Why is that happening? 解决方案 The reason is S3 actually has a flat structure. There are no folders but it just recognizes the forward slashes so groups the ones having the same prefix under same folder. So in your example "/BF/MUSIC" would be just another object, not an empty folder. Source: AWS Documentation: Working with Folders 这篇关于AWS S3 - ListObjects 返回不完整的目录列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-11 08:10