Skip to content

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

@raga-adbe-gh

Description

@raga-adbe-gh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions