Copy link to clipboard
Copied
Hi Everyone,
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
-yajiv
Code..
var myfile=new File("~/Desktop/Temp.psp");
alert(myfile.length);
Copy link to clipboard
Copied
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.