Reporting file size

Discuss RoboTask here
Post Reply
deesloop
Posts: 70
Joined: Wed Feb 25, 2009 3:44 am

Reporting file size

Post 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
Last edited by deesloop on Tue Sep 29, 2009 10:10 am, edited 1 time in total.
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Reporting file size

Post 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
Post Reply