HTTP Commander  AJS 3.x
Manual

Note! This Manual is for the "Forms authentication" version. This version requires you to create each account and store credentials in the HTTP Commander XML database. If you have Windows server or Active Directory accounts already and want to use them in the HTTP Commander, you need to download the "Windows authentication" version! This Manual is for the Forms authentication version only!

Web file manager
Free Installation assistance

HTTP Commander Control

This is for developers only. Example of using HTTP Commander as control. For more info see Control demos at http://demo.element-it.com/Examples/control/ and download HTTP Commander Control distribution archive

Example of HTTPCommanderControl placement to the ASPX page

<ElementIT:HttpCommanderControl

   runat="server"

   ID="httpCommander"

   DebugMode="false"

   Draggable="false"

   HandleErrors="false"

   Width="800"

   Height="600"

   Language="English"

   Modal="false"

   Resizable="false"

   ResizeToScreen="false"

   ShowHideIcon="false"

   ShowOnLoad="true"

   IsMobile="Auto"

   Visible="true">

   <Folders>

      <ElementIT:Folder

         Name="Demo folder"

         Location="%APPROOT%\DemoFolder\Demo">

         <UserPermissions>

            <ElementIT:UserPermissions

               IdentityName="Administrator"

               Copy="false"

               BulkMailing="true">

               <CreateTypeRestriction

                  Type="Allow"

                  Extensions="DOC,XLS,PPT" />

            </ElementIT:UserPermissions>

         </UserPermissions>

      </ElementIT:Folder>

   </Folders>

   <HttpCommanderSettings>

      <Main>

         <VirtualHttpCommanderPath Value="HttpCommander/" />

      </Main>

      <UI>

         <WelcomeWindowMessage Value="Hello!" />

         <AutoOpenFirstFolder Value="false" />

      </UI>

   </HttpCommanderSettings>

</ElementIT:HttpCommanderControl>


Descriptions for the control properties:

Key Description Default value
ID Property is used to specify both the programmatic identifier on the server-side and the javascript variable on the client-side. The javascript variable can be used to access the client-side implementation of the control.  
Visible Specifies, whether the given control item is displayed and whether it is visualized (defaults to: true). true
Width The width of the control in pixels (defaults to: 800, ignored if ResizeToScreen is true). If the nonpositive number value by default will be used is set. 800
Height The height of the control in pixels (defaults to: 600, ignored if ResizeToScreen is true). If the nonpositive number value by default will be used is set. 600
ResizeToScreen Set true for display control in all page of the browser. Values of the properties Width, Height, Resizable, Draggable, Modal, ShowOnLoad and ShowHideIcon are thus ignored. (Defaults to: false). false
Resizable Allow/Deny resizing of control. The minimum size to which it is possible to reduce a contorl is 300x200 (defaults to: false, ignored if ResizeToScreen is true). false
Draggable Allow/Deny dragging of control (defaults to: false, ignored if ResizeToScreen is true). false
ShowHideIcon Shows or hides the button in right upper to a corner for hiding control (defaults to: false, ignored if ResizeToScreen is true). false
ShowOnLoad Shows or hides a control at loading (defaults to: true, ignored if ResizeToScreen is true). true
Modal Set true for render control as modal window (defaults to: false, ignored if ResizeToScreen is true). false
Language Language of the interface for a control (defaults to: "English"). "English"
IsMobile Determines if mobile interface should be used or not (defaults to: MobileInterface.Auto; avaliable values: Auto, Yes, No). Auto
Folders List of HttpCommander folders. If property isn't set also folders program aren't defined, folders from a file Folders.xml will be used.  
DebugMode To generate or not all errors in Javascript (defaults to: false). false
HandleErrors Set true to show window with error in Javascript (defaults to: false). false
HttpCommanderSettings HttpCommander control settings. The description of properties look in file HttpCommanderSettings.config. If property isn't specified, settings from file HttpCommanderSettings.config will be used.  

Descriptions for the folder properties:

Folders which are to be defined/displayed within the control, are added by using <ElementIT:Folder> tagPrefix inside the sub tag of the control <Folders>.
Key Description Default value
Name Folder name.  
Location Folder physical path.  
Limitations Folder limitations (for example: the size of a disk quota).  
Description Folder description.  
CustomField Custom field for this folder.  
UserPermissions The list of permissions for users.  
GroupPermissions The list of permissions for groups.  

Descriptions for the folders permission properties:

Folder permissions which are to be defined/displayed within the control, are added by using <ElementIT:UserPermissions> and <ElementIT:GroupPermissions> tagPrefix inside the sub tag of the control <UserPermissions> or control <GroupPermissions>.
Key Description Default value
IdentityName User or group identity name.  
Create Allow/Deny actions from menu "New": new file, new folder, new image, new document files (defaults to: true). true
Delete Allow/Deny deleting of existing files and folders (defaults to: true). true
Rename Allow/Deny renaming of existing files and folders (defaults to: true). true
Upload Allow/Deny uploading files feature (Upload button at the toolbar, defaults to: true). true
Download Allow/Deny "download", "view", "View in Google Doc", etc actions (defaults to: true). true
ZipDownload Allow/Deny "compress and download" action (defaults to: true). true
Zip Allow/Deny "Compress to the zip" action (defaults to: true). true
Unzip Allow/Deny "Extract to current folder", "Exctract to new folder" and "Zip contents" actions (defaults to: true). true
Cut Allow/Deny cut existing files and folders action (defaults to: true). true
Copy Allow/Deny copy exising files and folders action (defaults to: true). true
ListFiles Allow/Deny listing files (defaults to: true). true
ListFolders Allow/Deny listing folders (defaults to: true). true
Modify Allow/Deny modify files (All actions that can modify existing file content, defaults to: true). true
BulkMailing Allow/Deny bulk mailing for groups (defaults to: false). false
AnonymousDownload Allow/Deny anonymous download (defaults to: true). true
AnonymousUpload Allow/Deny anonymous upload (defaults to: true). true
customField Custom field for this permission.  
ListTypeRestriction This option controls file listing. Use "Deny" type restriction to hide files with specified extensions. Use prohibited extensions separating them by comma (e.g. "EXE,BAT,COM"). Set "Allow" type restriction and extensions of the files that will be shown (e.g. "DOC,PDF,JPG").  
CreateTypeRestriction This type restriction is similar to "ListTypeRestriction" property, but it controls files uploading, zip extraction, creating new files. You can prohibit or enable uploading of specified files.