Files and directories with the same name

Files/symlinks and directories can share the same name in ObjectStore (NS4) storage groups.

By default, only the file/symlink will be revealed in the case of a duplicate, unless the &slash=both field is included in the action header.

With this field incorporated, consult the file type attribute in the response to differentiate components.

<stat directory="/[CP Code]/dir1/dir2/"> 
    <file type="symlink" name="bases" mtime="1260000000" /> 
    <file type="dir" name="bases" bytes=”0” files="1" 

In the above example, the path dir1/dir2/ is comprised of two entries with the same name, bases. (One is a symbolic link and the other is a directory.)