How to check Is SFTP directory is having any files?
IS there any conditional shape to check above condition?
Hi Hareesh Tangudu,
Please post technical/product questions in Community Forums. I'll move this one for you.
The About the Community (no product questions) space is for questions/discussions about the community site itself.
This question came up recently: Listing SFTP connector files
If no files are found, no documents are returned so you can follow this pattern: How to determine if no documents were returned by a connector.
If your objective is to return the list of files (vs. just checking if docs exist), the SFTP connector doesn't support that however I believe it is on the backlog for consideration.
I had a similar requirement before and I just used the '*' in File filter within a specific path and it returned the list of files in the connection data, in test mode.
I am not sure if it is the right approach though.
Retrieving data ...