How do you get the filesize of the file when using Matrix?

  {download_name} {file_size} {size}


Download name {file_size} {size}


1 Answer 1


It looks like you need to use the particular file as a tag pair around file_size. Something like this:

  {download_name} {download_file}{file_size}{/download_file}
  • Thanks, tried the above and it does return the filesize but it also returns the file name as well http://path/to/file53289
    – user742736
    Commented Sep 24, 2014 at 0:03
  • Simply remove {download_file} from Laura's answer. Commented Sep 24, 2014 at 0:55
  • When I remove {download_file} the {file_size} will return {file_size}
    – user742736
    Commented Oct 15, 2014 at 1:26
  • I have to said I'm getting different results with my original code. Can you provide your code for us to look at? Commented Oct 15, 2014 at 15:02
  • I guess @LauraMontgomery wanted you to remove the {download_name}.
    – Sobral
    Commented Apr 21, 2015 at 22:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.