Get File Info

With this node you can receive information from a file (for example file size, mime type...) and save the information in a variable.

It has the following configuration options:

  • File to get info from: here you can specify the file to receive the information from. Select the pencil to open Expression Builder.
  • Variable Name: here you can specify the name of the variable to store the file info in. The default name is file_info)
  • Support Multiple Files: if you select this checkbox, it is possible to support data from multiple files. In this case, an array will be assigned to the specified variable, and each entry will contain the info from one file. If you leave this checkbox unselected, the data from only one file will be assigned directly to the specified variable, because the info from the second file will overwrite the info from the first file.
  • Only From File: with this checkbox you can specify whether the file info can come from the asset info, or only directly from the file. This is can be important if you have custom file info extractors. If you select the checkbox, the file info can only come from the standard file info extractors that will check the specified file. If you leave the checkbox unselected, the file info can come from the asset (which might be updated/changed when compared to the info obtained from the file).