Repository navigation
Flow Actions Get files JSON
FTP Connection / Flowcards / Actions / Get files (JSON)
Use this card to get a list of file and folder locations from your FTP server. Another app or script can then work through that list.
| Argument | Description |
|---|---|
| Device | The FTP Connection to browse. |
| Directory | Select the directory to list with the FTP picker. |
Files (JSON) is a text token containing the list in JSON, a structured
text format that other apps and scripts can read. Each item is a path:
the folder and filename, such as photos/front.jpg.
The list contains paths only, not details such as file sizes or dates. For example:
["photos/front.jpg", "photos/back.jpg"]The exact paths depend on the selected directory and the server's listing.
The card lists only the selected folder; it does not look inside its subfolders. Folders can appear in the result alongside files. There is no image-only filter, and the list does not say which items are images. Check the items before using them as image paths.
Have the receiving app or script read the JSON list and process one item at a time. Don't put the whole list into a field that expects one filename.
Select a folder of known images and pass Files (JSON) to JSON Handler's collection loop. Process each image path using Get an Image Token. Do not add the selected directory again if the returned path already includes it.
See the multi-image workflow and the developer's community example.
Support development - If FTP Client is useful to you, you can support its
continued development through GitHub Sponsors,
Patreon,
PayPal, or
bunq.
Thank you!