I have get the file size of image using the "file.length" comment. However this comment getting wrong result, when the file size more than 2 GB.
Please advice why the result getting 0(Zero). Thanks in advance
var myfile=new File("~/Desktop/Temp.psp"); alert(myfile.length);
This is a known issue with our scripting interface. Only files less that 2 gig will report a correct size. We are working on a solution now.
Try the new Photoshop CC 2015.5. It should handle large files correctly.
NOTE: The ESTK is still broken. Not sure when (if ever) that tool will get an update. So make sure you have selected Photoshop in the dropdown before testing.