- FlashCommander.swf - the flex application
- index.php - the html wrapper
- config.xml - the configuration file for the client
- icons - the icons used for different file types
Edit 'config.xml' in order to change a few parameters:
<trial>
- 'url' specifies the path to 'gateway.php'; this can be a relative path or a full url
- 'key' is the trial licence key, which enables you to use flashcommander for 30 days
- 'url' is the full url to 'gateway.php'
- 'key' is the licence key for the domain; within the domain you can move your installation anywhere you want, just don't forget to update the url
<trial> <item url="../amfphp" key="58c99f68afce48b2b8448e3bc24ad8f6" /> </trial> <licences> <item url="http://domain1/flashcommander/amfphp" key="2a4d765e1fbdc03b0b84870f5e0c30ab"/> <item url="http://domain2/user/fcomm/amfphp" key="7815696ecbf1c96e6894b779456d330e" /> </licences>
<filetypes> - this is a list of the file types recognized by flashcommander
- if you want to treat 'asp' files as text, add this extension to the 'text' node
- if you don't want users to be able to view/edit images, remove it's extension from the 'image' node
<filetypes> <text>txt;xml;htm;html;js;css;php;</text> <image>jpg;jpeg;png;gif</image> <swf>swf</swf> <video>flv</video> <music>mp3</music> </filetypes>
<startview> - specifies what kind of view you want at startup; set "thumbnail" for Thumbnail view
<thumbnail> - properties of thumbnails in Thumbnail view
- size - the size of the thumbnail image
- colwidth - the width of the whole thumbnail (including the blank area around the image)
- colheight - the height of a tile; this should be big enough to acommodate the thumbnail label
<copy> - if overwriteprompt is 'true' the user is asked whether he wants to overwrite a file
<preview> - preview of images in Thumbnail view
- show - if true (default), the images are shown as thumbnails, otherwise their icons are shown
- generate - if true (default), the small thumbnails are generated on the fly on the server, otherwise the big images are loaded, and resized to fit; set 'false' only if your server doesn't support Php GD functions
<mouse> - mouse navigation
- navclick - navigate by single or double clicking
- viewclick - view file content by single or double clicking
<startview left="" right="thumbnail"/> <thumbnail> <size>50</size> <colwidth>74</colwidth> <rowheight>78</rowheight> </thumbnail> <copy overwriteprompt="true" /> <preview show="true" generate="true" /> <mouse> <navclick>single</navclick> <viewclick>double</viewclick> </mouse>
<icons> - the list of icons used in File view and Thumbnail view
- small - the small icons (16x16 pixel) are shown in File view in the first column
- big - the big icons (32x32 pixel) are shown in Thumbnail view (except for image files where preview is shown)
- you can add your own file icons or change the existing ones
<icons> <up small="icons/up16.png" big="icons/up32.png" /> <dir small="icons/dir16.png" big="icons/dir32.png" /> <file small="icons/file16.png" big="icons/file32.png" /> <jpg small="icons/jpg16.png" big="icons/jpg32.png" /> ... </icons>