title: GAE Blob Store get file size
body: <p>I try to get the size of a file stored in Google Cloud Storage from Google App Engine in Java,</p>
  
  <p>I tried this :</p>
  
  <pre><code>FileService fileService = FileServiceFactory.getFileService();
  AppEngineFile appEngineFile = fileService.getBlobFile(new BlobKey("blob key"));
  int size = (int) fileService.stat(appEngineFile).getLength().longValue();
  </code></pre>
  
  <p>But it is returning 0</p>