Skip to content

Flow Actions Get files JSON

Arie J. Godschalk edited this page Nov 15, 2026 · 3 revisions

Get files (JSON)

FTP Connection / Flowcards / Actions / Get files (JSON)

Purpose

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.

Arguments

Argument Description
Device The FTP Connection to browse.
Directory Select the directory to list with the FTP picker.

Output

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.

Behavior and limitations

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.

Example

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.

Clone this wiki locally