Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > artyclaw-comfy > Folder File Selector

ComfyUI Node: Folder File Selector

Class Name

FolderFileSelector

Category
IO/Filesystem
Author
artyclaw (Account age: 217days)
Extension
artyclaw-comfy
Latest Updated
2026-04-13
Github Stars
0.0K

How to Install artyclaw-comfy

Install this extension via the ComfyUI Manager by searching for artyclaw-comfy
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter artyclaw-comfy in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Folder File Selector Description

Builds an absolute path from a folder and selected filename without opening or reading the file.

Folder File Selector:

FolderFileSelector builds a full filesystem path for a file you choose. It can show a list of files found in its configured default folder when the node loads, making it easier to select a filename without typing it. The node returns a path as text for use by another node; it does not open, read, or verify the contents of the file. If the selected path does not exist, it still returns that path and prints a warning.

Folder File Selector Input Parameters:

folder_path

The folder used to build the returned path. You can enter an absolute path or a relative path, which the node converts to an absolute path when it runs. Changing this value changes where the selected filename is placed, but it does not rebuild the file dropdown: that list comes from the default folder when the node loads. This is a required, single-line string. Its default is the configured DEFAULT_FOLDER value, which is not shown in the provided source. No minimum or maximum length is specified.

file_select

The filename appended to folder_path. If files were found in DEFAULT_FOLDER when the node loaded, this input is a dropdown containing those filenames, sorted without regard to letter case; its default is the first item. Otherwise, it is a single-line text field with an empty-string default. An empty value returns the folder path itself. The dropdown does not automatically change when you edit folder_path, so a listed filename may not exist in the folder you entered. No minimum or maximum length is specified for the text-field version.

Folder File Selector Output Parameters:

file_path

A string containing the absolute folder path joined with the selected filename. For example, choosing image.png from /art/assets returns /art/assets/image.png. If file_select is empty, the output is the absolute folder path alone. This value describes the path the node constructed, not a guarantee that a file exists there or can be opened. Check that the file is present before passing the path to a node that reads it.

Folder File Selector Usage Tips:

  • Keep folder_path pointed at the configured default folder when you want the dropdown to reflect the files it scanned. If you choose another folder, confirm that your selected filename exists there.
  • After adding, removing, or renaming files, reload the nodes to rebuild the dropdown. The file list is captured when the node loads.
  • If no files were found at load time, type the filename into file_select. Include its extension when the file has one, and check the spelling against the folder’s contents.
  • Connect file_path to a node that accepts a path string. FolderFileSelector supplies the location as text; it does not load the file for you.

Folder File Selector Common Errors and Solutions:

[ Folder File Selector] Warning: file does not exist: <constructed path>

  • Explanation: The constructed path does not exist. The node prints this warning but still returns the path.
  • Solution: Check folder_path, the selected filename, and its extension. If you changed folders, make sure the dropdown choice also exists in the new folder.

The dropdown does not show a recently added file

  • Explanation: This is a selection issue, not a reported error message. The dropdown is built from files found in the default folder when the node loads; it does not refresh during execution.
  • Solution: Reload the nodes to rebuild the dropdown, then select the file.

file_select is a text field instead of a dropdown

  • Explanation: No files were found in the default folder during the initial scan, or the scan could not produce a file list. This is fallback behavior, not an error message.
  • Solution: Check that the configured default folder exists and contains a file, then reload the nodes. You can also type the filename directly into the text field.

The path points to the folder rather than a file

  • Explanation: file_select is empty, so the node returns the absolute folder path. This is not a reported error message.
  • Solution: Select or type a filename if the next node expects a file path.

A downstream node cannot open file_path

  • Explanation: FolderFileSelector returns path text even when the target is missing. It does not check whether another node can read the file, and this message would come from that downstream node rather than FolderFileSelector.
  • Solution: Confirm that the returned path identifies an existing file and that the application running the workflow can access it.

Folder File Selector Related Nodes

Go back to the extension to check out more related nodes.
artyclaw-comfy
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Folder File Selector