Listfiles
SFTP Plugin – List Files Action
Summary (SEO Meta Description):
The List Files Action of the SFTP Plugin lists all files in a specified folder on an SFTP server.
It enables workflows to dynamically discover and process remote files.
Overview
The List Files Action allows your workflow to retrieve a list of file names from a specified directory on an SFTP server.
This is ideal for batch processing, auditing, or initiating downstream tasks based on the files present.
Typical Use Cases:
- Generate a dynamic list of files for automated processing
- Audit remote directories for compliance or inventory tracking
- Trigger workflows when new files are uploaded
- Collect file metadata for reporting or monitoring
⚙️ Configuration
| Field | Description | Type / Options | 
|---|---|---|
| Label | Custom name for the action | String | 
| Source directory | Path to the SFTP folder to list files from | String | 
| Select connection | Choose or create a secure SFTP connection | Connection | 
FAQ
Q: Does the action return subfolder contents as well?
A: No. The List Files Action returns only files located in the specified directory.
Q: Is file metadata included in the output?
A: Yes. The output typically includes file names and basic metadata like size and modification date.
Q: Can I filter the listed files?
A: Use pattern matching or filtering steps downstream in your workflow to process specific files.
Keywords: WeHub SFTP Plugin, List Files Action, Secure File Transfer, Directory Listing, SFTP Automation