Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement request for add support for listing files with filter and option to get number of files in a folder #150

Open
raga-adbe-gh opened this issue Apr 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@raga-adbe-gh
Copy link

The files.list([filePath]) API is described as Lists files in a remote folder. If called on a file returns the file info if the file exists. If the file or folder does not exist returns an empty array.
Requesting following enhancement

  1. An option to get the number of files in the path - Currently we are listing the files and counting them. This consumes memory.
  2. In case in a path there are different types/pattern of file Example - docx, xlsx and/or a01.jpg, a02.jpg, b01.jpg, b02.jpg. If there is a provision to selective list with file pattern would be very helpful. Example .docx or a.jpg

Expected Behaviour

Actual Behaviour

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

@moritzraho moritzraho added the enhancement New feature or request label Apr 4, 2024
@aiojbot
Copy link
Collaborator

aiojbot commented Apr 4, 2024

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2929

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants