Get File Size



The Get File Size action gets the size of one or more files, or the size of an entire directory into a variable.




Source Files


Single File or Filespec, or directory - you can specify the path to a single file (eg. c:\temp\myfile.txt), or use a file specification with wildcards (eg. c:\Images\*.png ).  If you want to get the size of an entire directory, specify the directory name with a trailing backslash \


File Set - Specify the name of the FileSet



Set Variables


Formatted value - the total size will be formatted in human readable form, such as 12.5 Kb, 8.1 Mb, or 1.31 Gb


Value in bytes - the total size will be saved to the selected variable in bytes