<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.filesystemFileLength.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.filesystemFileLength</api:function-name><api:suggest>xdmp.filesystemfilelength</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>filesystemfilelength</api:suggest><api:function-link mode="xquery" fullname="xdmp:filesystem-file-length">/apidoc/8.0/xdmp:filesystem-file-length.xml</api:function-link><api:function mode="javascript" name="filesystemFileLength" type="builtin" lib="xdmp" category="AdminBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.filesystemFileLength"><api:summary>
  Reads the length of a file from the filesystem. It returns empty sequence
  if the object named by the pathname does not exist or is not a file.
</api:summary><api:params><api:param name="pathname" type="xs:string"><api:param-description>
    Pathname of the file to be read.
  </api:param-description><api:param-name>pathname</api:param-name><api:param-type>String</api:param-type></api:param></api:params><api:return>String?</api:return><api:privilege>
  <p xmlns="http://www.w3.org/1999/xhtml"><code>http://marklogic.com/xdmp/privileges/xdmp-filesystem-file-length</code></p>
</api:privilege><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
xdmp.filesystemFileLength("/testdata1/a.jpg");
=&gt; length of /testdata1/a.jpg
</pre></api:example></api:function></api:function-page>