01-29-2021 06:05 AM
How to find the empty file from sftp and send to Archive folder
01-29-2021 07:53 AM
Hi @sirisha
You can use Directory Browser snap to list all the files from the sftp location. For every file listed on the output, the Snap will provide the size of the file in bytes. The empty file probably will have size no bigger than 5 bytes.
Then, you can use a filter snap to filter only those files with size no bigger than 5 bytes and write to Archive folder.
Regards,
Spiro Taleski
01-29-2021 07:59 AM
Can we find the size of the file from the file poller snap
01-29-2021 08:20 AM
Based on the documentation, the File Poller snap will return only the full path to the searched file:
Regards,
Spiro Taleski