~~Title: Additional File Information~~ As well as the functions already described, there are a number of other functions in your plugin that Opus will call at times to obtain information about files. You should do your best to implement as many of these as possible - most should be quite straight-forward. These functions are all documented fully in the reference section of this SDK. [[:reference:plugins:vfs_plugins:vfs_getfileinformation|VFS_GetFileInformation]] is a function called by Opus to retrieve full information about a specific file or folder. The information is returned in exactly the same way as a directory listing is returned by [[:reference:plugins:vfs_plugins:vfs_readdirectory|VFS_ReadDirectory]], except that only one **VFSFILEDATA** structure is returned. The SDK also defines a trio of functions that provide an alternative method for reading directory contents. [[:reference:plugins:vfs_plugins:vfs_findfirstfile|VFS_FindFirstFile]], [[:reference:plugins:vfs_plugins:vfs_findnextfile|VFS_FindNextFile]] and [[:reference:plugins:vfs_plugins:vfs_findclose|VFS_FindClose]] are analogous to the similar functions in the Windows API. [[:reference:plugins:vfs_plugins:vfs_findfirstfile|VFS_FindFirstFile]] is often called with an exact filename, in order to obtain file information about the specified file. Other times it is called with a wildcard pattern in order to retrieve information about all matching files in the specified folder. Opus uses this method quite often - for example, all recursive file operations are implemented using **VFS_FindFirstFile/VFS_FindNextFile**. Because the implementation of these functions would be very similar to that of the [[:reference:plugins:vfs_plugins:vfs_readdirectory|VFS_ReadDirectory]] function it is strongly suggested that your plugin provides them. [[:reference:plugins:vfs_plugins:vfs_getfiledescription|VFS_GetFileDescription]] is called by Opus to retrieve a description string for files in your namespace. This is displayed to the user in the **Description** column in Listers. Note the distinction between //descriptions// and //comments//. A comment is a string that the user is able to assign to a file or folder. Comments are supported in the plugin API via the functions [[:reference:plugins:vfs_plugins:vfs_getfilecomment|VFS_GetFileComment]] and [[:reference:plugins:vfs_plugins:vfs_setfilecomment|VFS_SetFileComment]]. Descriptions, on the other hand, are intended to be dynamically generated arbitrary descriptions of each file. For example, the description Opus displays for image files includes the file format and image resolution. The user does not set the description field themselves - the description is generated by the plugin based on the actual file itself. [[:reference:plugins:vfs_plugins:vfs_getfilesize|VFS_GetFileSize]] is called to retrieve the size of a specified file, and [[:reference:plugins:vfs_plugins:vfs_getfileattr|VFS_GetFileAttr]] is called to retrieve the attributes of a specified file. There is also a [[:reference:plugins:vfs_plugins:vfs_propget|VFS_PropGet]] function which can be called to retrieve certain information about files and folders.