The List Remote Files Action can create a simple or advanced list of files in a directory on a remote server. The Action supports sorting, filtering and other advanced features.
After the List Remote Files Action is completed, the information on its operations is temporarily stored in dynamic variables that can be retrieved by any other Action within the same Task via Variable Wizard. For example, these variables can be saved as text by Write to File Action, emailed to admin by Send Email Action or used as dynamic parameters in other Actions.
|List of files||Returns list of files in a remote directory (after it has been sorted and filtered).|
|Number of files||Returns the number of files in a list.|
|Completion status||Retrieve Action execution status with a possible value—Successful or Failed. Or Empty, if Action has not been executed yet.|
|Adjust()||Streamline creation of Task workflows even further—instantly make quick variable adjustments such as in-place replacement (all, first, or last occurrence), trimming (whitespaces, quotes, etc.), or changing capitalization. Optionally, set a different display name.|
Automatic list processing…
The List Remote Files variables returned as lists (even multi-level) can be automatically processed in further Actions. Use the For Each Action to parse a given text string (any list variable) and sequentially retrieve its elements one by one · see list processing examples. Or, use the Split Text and Lookup Text Actions to access list elements by their indices.
Still have a question?
If you have any questions, please do not hesitate to contact our support team.