Is there an easy way to count the number of files in a local directory (desktop version)?
Use case - I have an FTP action that downloads all the files from an FTP server BUT sometimes there are no files produced on the FTP server. Rather than proceed through the workflow, I’d like to produce an error when no files (Count = 0) are downloaded. Another use would be knowing whether to use or not use “Iterate” on some folder depending on whether there are files present.
Any advice would be greatly appreciated.
thank you