I looked up the internet, it turns out we really have to traverse the directory tree... given the atomic nature of LEP, it might not be the best way to calculate the total size of files in a folder.
here is plugin with an option to abort: https://github.com/miyako/4d-plugin-get-folder-size ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************