| Vendor | MindTouch |
| Type | Extension |
| Categories | Advanced |
| Requires | MindTouch 1.9.1 or later |
| OS Restriction | None |
| Status | BETA |
| License | Free/Open Source |
| SID (service id) | sid://mindtouch.com/2008/03/filesystem |
| Assembly | mindtouch.deki.services |
Table of Contents
This extension contains functions for interacting with a file system.
See also How to add an extension, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.
Configuration:
Before the FileSystem service can be used, it must be configured.
| Config Key | Description |
| folder | Specifies the file system folder (examples: z:\, \\myshare\drive ) |
If you need to configure multiple file systems for the same wiki, register this extension once for each file system. Use the following preference to specify a unique namespace value for each registration. Invoke the service using this value instead of filesystem. For example, if you set namespace=filesystem1, you would invoke the service with filesystem1.tree("...") instead of filesystem.tree("...").
Functions:
Displays a browsable file system tree.
Parameters:
| Name | Type | Description |
| folder | str | The top directory |
| topDirectoryOnly | bool? | Optional. Specifies whether to include all directories or only the top directory (default: false) |
| pattern | str | Optional. Search pattern (default: nil) |
Samples:
As I found the SID (service id) for the File System extension is now specified a bit different: sid://mindtouch.com/2008/03/filesystem .
The former value http://services.mindtouch.com/deki/draft/2008/03/filesystem worked fine for me before.
Now it couldn’t be initialized even though the extension is successfully registered.
If I configure the extension with the new SID value the extension couldn’t start at all. I am using MindTouch Core v.9.02.2 on Apache/Windows.
What’s wrong with this? I would appreciate if anyone could help.
Thanks in advance!
Serge