3 Replies Latest reply on Jun 22, 2016 10:01 AM by Tom Ruark

    Help Me! for File.length statement getting Error...?

    natrev Level 3

      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);