Page 1 of 1

Reporting file size

Posted: Tue Sep 29, 2009 6:09 am
by deesloop
I can report the size of a file no problem,
however I want to report the size of a files assigned the variable fax. However I cant get it to work
I'm sure it's a syntax thing - where am I going wrong?

A {FileSize({{FAX}})} fax was delivered

Cheers

Reporting file size

Posted: Tue Sep 29, 2009 6:44 am
by Oleg
You should write so:
{FileSize({fax})}

Also you should assign the file name to variable fax (not to {fax}). Also pay attention that the variable fax must contain full file name with the path.

Try to change your string such:
A fax was received, file - {fax}, size {FileSize({fax})} bytes