How to find the empty file from sftp and send to Archive folder

How to find the empty file from sftp and send to Archive folder

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

1 Like

Can we find the size of the file from the file poller snap

@sirisha

Based on the documentation, the File Poller snap will return only the full path to the searched file:

Regards,
Spiro Taleski

1 Like