pCloud

Interact with pCloud cloud storage using OAuth 2.0 or legacy authentication

Folder → List

AI-generated

Summary

Lists contents of a specified folder in pCloud storage.

Inputs

  • folderPath — Path to the folder to list (e.g., / or /MyFolder). Defaults to '/'.
  • recursive — Whether to list contents recursively. Defaults to false.

Output shape

a list of folder contents including files and subfolders

Returns the folder contents in metadata. If 'recursive' is true, includes contents from subfolders as well.

Examples

Example 1: List the contents of the root folder without recursion

Set 'folderPath' to '/' and 'recursive' to false.

Example 2: List all contents of 'MyFolder' including subfolders

Set 'folderPath' to '/MyFolder' and 'recursive' to true.

Discussion