How to find the empty file from sftp and send to Archive folder
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.
Can we find the size of the file from the file poller snap
Based on the documentation, the File Poller snap will return only the full path to the searched file: