Ticket #7148 (closed enhancement: fixed)
IVFSExplorer::entryList needs to return file/dir permission and file attributes -> Fixed in SVN
|Reported by:||joseph1962smith||Owned by:|
The IVFSExplorer::entryList method currently returns an array of arrays.
Array (Array (list of files), Array (list of file types))
The first array is the name of the entry. The second array contains a corresponding entry that defines the entry type (VFSFileType).
To properly present a remote file/directory browser, the following attributes are required:
-RWX - Read/Write/eXecute permission for the user
-Size - Size of the file as reported by the filesystem
This will allow a remote user to only be presented with files they can access. Additionally, including the size of the file provides a way for the user to confirm the file they are viewing matches the size they expected.
This request is not for a full-blown remote file browser, but rather a modification to the existing list of data that is returned to include the permission of the file and it's size.
Since the result is already an array of arrays, the impact could be negligible if the additional information is provided in arrays. E.g:
Array (Array (list of files), Array (list of file types), Array (list of permissions), Array (list of sizes))
- Summary changed from IVFSExplorer::entryList needs to return file/dir permission and file attributes to IVFSExplorer::entryList needs to return file/dir permission and file attributes -> Fixed in SVN