Check size of downloaded file

On initialization, Using Filetools I checked if a file exists if not then I download a file to the device (png image). This generally works fine but twice the file has download just the name with 0 bytes ie an empty file. Then when I load the app the file shows that it exists so skips the if condition. Is there a way to check the size of the file as well as if it exists?

There is a block for file size in the FileTools extension:

image

thank you, I am using this fine extension and I overlooked it yesterday, I thought it should be there :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.