The details you provide will be handled in accordance with our stated Privacy Policy.
WebFileManager has a number of configuration options or variables that may be used to control appearance and functionality. All of these variables have default values and, in some cases, the availability of variables and their values may vary depending on other variables.
By default, WebFileManager operates in a "locked down" mode where it is only possible to view folder and file listings. To enable a specific item of functionality, it has to be manually configured. For example, to enable folder creation, the FolderCreate variable must be enabled.
To be able to use any file system actions - like folder creation, file deletion etc - the user account or IIS AppPool used for the host IIS website must have corresponding permissions. Simply enabling functionality within WebFileManager will not enable to corresponding security permission in Windows.
For example, if you enable the FileDelete variable, you must enable File Delete permissions for your IIS website.
WebFileManager configuration values are defined through the Config property of the WebFileManager control. It is recommended that these values are defined at the Load event in the ASP.Net Page Cycle and are redefined even on Postbacks.
The following example shows the simplest configuration
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load ' WebFileManager configuration WebFileManager.Config.BaseFolderPath = "~/user" End Sub
Configuration variables may be categorised as follows:
An ASP.Net root relative virtual path of the root folder to be used in WebFileManager.
Defines the base or root folder path for WebFileManager. All files and folders accessible by WebFileManager must be descendants of this path.
For example:
WebFileManager.Config.BaseFolderPath = "~/myfiles"
An ASP.Net root relative url
Defines the url or folder of the current folder being viewed in WebFileManager. If not defined, WebFileManager will use the value specified for BaseFolderPath.
The value of CurrentPath must always be a descendant or equal to BaseFolderPath. If an an unrecognised or invalid path is used, WebFileManager will default to the value of BaseFolderPath.
None
All
ErrorsOnly
Defines the policy controlling the information written to the log file. The following table shows the permitted values.
Defines the ASP.Net root relative Url of the parent WebForm containing the WebFileManager control. If this is not defined, then it will be automatically determined. If you are using WebFileManager is a CMS or an application using rewritten Urls, it is recommended that this value is specified.
WebFileManager.Config.ParentWebFormUrl = Request.AppRelativeCurrentExecutionFilePath
True or False
When this variable is enabled (set to True) it is possible to copy file system objects like files and folders within WebFileManager.
This variable has no effect if the IIS permissions for the host website are configured to allow write operations.
When this variable is enabled (set to True) it is possible to move file system objects like files and folders within WebFileManager.
This variable has no effect if the IIS permissions for the host website are configured to allow write and delete operations.
When this variable is enabled (set to True) it is possible to delete files within WebFileManager.
This variable has no effect if the IIS permissions for the host website are configured to allow delete file operations.
When this variable is enabled (set to True) it is possible to rename files within WebFileManager.
This variable has no effect if the IIS permissions for the host website are configured to allow this action.
Disabled
Standard
Plupload
Defines the policy controlling whether or not file uploads should be enabled in WebFileManager. If enabled, is recommend that Plupload is used as Standard may prove unreliable with large files or slow internet connections.
This variable has no effect unless the IIS permissions for the host website permitted file write operations.
The following table shows the permitted values.
When this variable is enabled (set to True) it is possible to download files through WebFileManager.
This variable has no effect if the IIS permissions for the host website are configured to allow file reading.
When this variable is enabled (set to True) it is possible to create folders within WebFileManager
This variable has no effect if the IIS permissions for the host website are configured to allow folder creation.
When this variable is enabled (set to True) it is possible to delete folders - and their contents - within WebFileManager
This variable has no effect if the IIS permissions for the host website are configured to allow folder and file deletion.
When this variable is enabled (set to True) it is possible to rename folders within WebFileManager
This variable has no effect if the IIS permissions for the host website are configured to allow folder renaming.
When this variable is enabled (set to True) then the image Lightbox functionality is enabled. This functionality uses LightBox by Lokesh Dhakar
When this variable is enabled (set to True) then image rotation and flipping functionality is enabled.
Caution: this functionality is currently experimental and may not work. It requires file system modify permissions.
ListingMode
Listing
Thumbnail
Defines the listing style in WebFileManager. The following table shows the permitted values.
Inline
ckEditor
ParentTextBoxControl
ParentListBoxControl
Defines the operating mode of WebFileManager. This is primarily used to define whether WebFileManager is working a standalone file manager or is integrated into another plugin or control. The following table shows the permitted values.
InputBox
Defines the user interface (UI) mode of WebFileManager. This is primarily used to define the user interface container of WebFileManager. This variable typically only applies when WebFileManager is integrated in Calzada Media products.
This configuration variable is used when WebFileManager is integrated into a form to populate the value of either a Textbox or ListBox.
For this functionality to work correctly, the ClientIdMode property for the relevant WebControl must be set to static. For example:
<asp:ListBox ID="lbImages" runat="server" ClientIDMode="Static" Width="100%" Rows="10" />
This variable is not required with ckEditor integration.
The value of this variable is defined by ckEditor when it invokes WebFileManager.