Download into the project
download_to_folderDownloads owned files into a project folder, verifies each SHA-256 checksum, and skips matching existing files. Narrow by file names, IDs, or edition, or zip the whole product; returns saved paths.
Instructions
Download files the person owns into the project, each checked against its sha256; files already there with the same checksum are skipped. dir is relative to the project (default kadal-store/). Narrow with fileNames or fileIds (from list_library) or an edition, or zip: true for the whole product as one zip. Returns where every file went.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Folder relative to the project, e.g. 'assets/sfx'. Default kadal-store/<slug>. | |
| zip | No | The whole product as one zip instead of its files. | |
| slug | Yes | ||
| edition | No | Narrow a product sold in editions (planners, calendars) to one. Leave an axis out to keep all of it. | |
| fileIds | No | Only these files, by id. | |
| fileNames | No | Only these files, by name. | |
| overwrite | No | Download again even when the same file is already there. |