You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered this library and it's really nice but I encountering a problem with listObjects and listObjectsV2 methods.
I don't have same responses that aws sdk. I just want to list all directory and files at a specific path. So I specify delimiter : "/" and Prefix with my path.
The problem is that response contains all subdirectories and files including in these directories.
Official AWS SDK returns only directories and files to specific prefix
Results should contains array of CommonPrefixes with "Prefix" (Folder1, Folder2) and Key "file.txt". But it returns "Subfolder1", "File1", "File12", "File2" too.
The text was updated successfully, but these errors were encountered:
There seems to be another issue with the delimiter, too: The NextContinuationToken is not returned, if it is not set. Howver, I want the token, but not set the Delimiter.
Hi,
I discovered this library and it's really nice but I encountering a problem with listObjects and listObjectsV2 methods.
I don't have same responses that aws sdk. I just want to list all directory and files at a specific path. So I specify delimiter : "/" and Prefix with my path.
The problem is that response contains all subdirectories and files including in these directories.
Official AWS SDK returns only directories and files to specific prefix
|--- root_folder/
______| file.txt
______|--- Folder1/
__________|--- Subfolder1
_______________|---File1.txt
_______________|---File12.txt
______| Folder2/
__________| File2.txt
Options :
Results should contains array of CommonPrefixes with "Prefix" (Folder1, Folder2) and Key "file.txt". But it returns "Subfolder1", "File1", "File12", "File2" too.
The text was updated successfully, but these errors were encountered: