My main.asc file does some logging within it using the file class. That log file has gotten very big and I'm trying to implement a solution to back up the file when it gets too big. Does anyone know how to check the size of a text file from within the main.asc file?
Hi,
You can use the File.length property to check the number of bytes in the file. See here for more information : http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/WS5b3ccc516d4f bf351e63e3d11a11afc95e-7eac.html#WS5b3ccc516d4fbf351e63e3d11a11afc95e- 7faf
Hope this helps.
Thanks,
Apurva
North America
Europe, Middle East and Africa
Asia Pacific