<% ' - Constants ------------------------------------------------ ' For disabling password security set wexPassword = "" Const wexPassword = "birdie753" ' Root folder, it can be a physical or virtual folder: "c:\test", "/test" ' Beware that you will not have web access(no web browsing of files/folders) if you use a physical folder like "c:\test" ' If you want to have web access with a physical folder, you should create a virtual folder(IIS alias like "/folder") for that physical folder and use it instead. Const wexRoot = "/shared/files/family pictures/" ' Show files and folders that have hidden attribute set? Const showHiddenItems = false ' Calculate total size of the current folder? Disable if it takes long time with huge folders. Const calculateTotalSize = true ' Calculate total sizes of the folders in the listing? Disable if it takes long time with huge folders. Const calculateFolderSize = true ' List of file extensions which are showed with the "T" icon and can be edited by clicking the icon. Const editableExtensions = "htm,html,asp,asa,txt,inc,css,aspx,js,vbs,shtm,shtml,xml,xsl,log,aaa,desc" ' List of file extensions which are showed with the "P" icon and can be viewed by clicking the icon. Const viewableExtensions = "gif,jpg,jpeg,png,bmp,jpe" ' Display full physical path of the current folder? Set it to false for hiding your server path structure. Const displayPath = true ' List of file extensions to be monitored during Upload, Rename, Editor Save and Create New File actions. ' Allowance or denial is due to the value of denyMonitored constant. Extensions should be separated by comma. Const monitoredExtensions = "" ' True means monitored extensions are denied and false means only monitored extensions are allowed but not any other. Const denyMonitored = true ' ------------------------------------------------------------ ' - Variables ------------------------------------------------ ' Set script timeout value to higher values (in seconds) if the script fails when uploading large files Server.ScriptTimeout = 300 ' Preferred character set, default value is "ISO-8859-1" (Western European character set) ' Don't bother to change it unless you are having problems with handling text in your language ' Character sets and supporting code pages can be found at ' http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/charsets/charset4.asp Response.CharSet = "ISO-8859-1" ' Preferred code page, default value is 1252 (Western European codepage) ' Don't bother to change it unless you are having problems with handling text in your language Session.CodePage = 1252 ' Preferred locale identifier, default value is 1033 (English - United States) ' Locale ID (LCID) Chart can be found at ' http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsmscLCID.asp Session.LCID = 1033 ' ------------------------------------------------------------ ' - Plugins -------------------------------------------------- ' File transfer plugin %><% ' ------------------------------------------------------------ %>