Table Of Contents
 

CF_FileManager F.A.Q

Author : Daniel Mackey Email : dan@digital-crew.com

Questions

  1. "Component dcFileManagerV3 could not be loaded" error is displayed.
  2. What version browser is required for this component to function correctly?
  3. Can I hide the folder I specify as the default folder?
  4. Can I copy folders and files at the same time and will everything in the sub folders be copied?
  5. Are mapped drives supported?
  6. If I delete a folder, will the contents of the folder also be deleted?
  7. Can users browse below the folder passed in?
  8. What are locked folders?
  9. Can I customise the look and feel of the component?
  10. Can I upload multiple files at the same time?
  11. Can I download files from the current folder I am browsing?
  12. What does file editing allow me to do?
  13. I set the correct MIME type when uploading MP3 files but it still fails!
  14. Do I need to install any extra software, applets or controls in order to use CF_FileManager?
  15. Can it be embedded into the page rather than a pop up and include it as a component to an existing system?
  16. What protocol (such as HTTP) does CF_FileManager use to upload/download files?
  17. Can I use SSL (Secure Sockets Layer) to encrypt data when uploading files?
  18. Can I add to the recognized file icons?
  19. Can I add to the recognized file descriptions?
  20. What version of ColdFusion is required?
  21. If I buy CF_FileManager would I be able to install it on development server as well as backup server?
  22. The component installs and launches but right clicking on files results in the default browser context menu. What could be wrong?
  23. Is CF_FileManager CFMX7 compatible?
  24. Is a Linux server version available?
  25. I installed CF_FileManager but get a blank screen when I try to run it

  1. "Component dcFileManagerV3 could not be loaded" error is displayed.

    The Component is built around DCCOM (Which is a component architecture) for security, ease of use and scalability.
    The DCCOM methodology introduces component styles which are really just folders holding images and styles to customize your component.
    If a style is passed in that does not exist or the info.cfm file is missing from the style you are applying, you will get this error.

    This error is more specific to the workings of DCCOM than an error in the actual component you are using.
    The DCCOM architecture allows all components to reside in the same place on the server and it figures out the location of them and loads them when required.
    Each component is packaged in its own directory, with the directory named the same as the component being loaded.

    Check to see if the component exists and the name is correct.

  2. What version browser is required for this component to function correctly?

    Mozilla 1.3+, Mozilla Firefox (Windows, Linux, Mac), Netscape 7.0 (Unix, Linux, Windows), Internet Explorer 5.5, 6, 7 on Windows.

  3. Can I hide the folder I specify as the default folder?

    Yes. you can pass in the attribute FOLDERMASK which will be used in place of the current folder location.

    E.g: if your folder is c:\inetpub\wwwroot\files then passing FolderMask="root\" will display "root\" as the location the user is currently on.

    If they move to a folder in this location, say My Files the actual path now is c:\inetpub\wwwroot\files\my Files but all they will see is root\my files in the folder display area at the top of the component.

  4. Can I copy folders and files at the same time and will everything in the sub folders be copied?

    Yes. You can hold down the CTRL Key when selecting objects, right click and choose Copy.

    You can then browse to a different folder and right click and choose Paste.

    All the objects you have selected will be copied including files and folders and every object contained in the sub folders will also be copied.

  5. Are mapped drives supported?

    Yes. Mapped drives are supported.

    Instead of using UNC paths, a drive letter must be assigned and the correct ColdFusion privledges provided.

    You can not pass a UNC path.

  6. If I delete a folder, will the contents of the folder also be deleted?

    Yes. The folder deleting algorithm recurrsively deletes any elements in the folder including files and sub folders aswell as the sub folder contents.

  7. Can users browse below the folder passed in?

    No. The users can browse through folders from the base folder but not below it.

  8. What are locked folders?

    Locked folders are folders visible to the end user but can't be modified by deletion, renaming, copying etc (see also FolderFilter attribute)

  9. Can I customise the look and feel of the component?

    Yes. The component is very easy to "skin".
    If you make a "skin" called aqua all you have to do is copy the default style folder from the dcFileManager component styles directory and rename it to "aqua".
    You can then place your custom icons in this folder and the file info.cfm holds the CSS necessary for the different style. Modifying these style attributes will allow you to fit the component into your applications current style.

  10. Can I upload multiple files at the same time?

    Yes. You can use the advanced DHTML interface to upload multiple files or pass the attribute USEPROFLASHUPLOAD if you wish to use this component for the uploading.

    CF_ProFlashUpload is a seperate product by Digital Crew and must be purchased seperately. Once installed it can be used with CF_FileManager.

  11. Can I download files from the current folder I am browsing?

    Yes. Downloading of files is possible. You can enable this functionality in your copy of CF_FileManager by passing ALLOWFILEDOWNLOAD="YES" as an attribute.

    If multiple files are selected, a zip file is created and offered for download containing the selected files. (MX only)

  12. What does file editing allow me to do?

    The file editing allows you to edit any text based file on the fly and save it again.

    Handy if you need to quickly change some HTML or Coldfusion files without having to go through FTP.

    You can pass in a comma delimited list of file extensions matching files that are allowed to be edited.

    An image editing plugin is also included when editing JPG or PNG files. This provides the ability to crop and resize the images.

  13. I set the correct MIME type when uploading MP3 files but it still fails!

    MP3 files have a number of different MIME types. Use the following list:

    uploadAccept="audio/mp3,audio/mpeg,audio/x-mp3,audio/x-mpeg,audio/m3u,audio/x-m3u"

  14. Do I need to install any extra software, applets or controls in order to use CF_FileManager?

    CF_FileManager is written completely in DHTML and browser based.

    The client does NOT need to install or download any Java Applets, ActiveX Controls or COM Objects in order to use it.

  15. Can it be embedded into the page rather than a pop up and include it as a component to an existing system?

    Yes, it can. It is included as a Pop up for the online demo but in a number of Intranets currently using it, the File Manager was implemented in under 10 minutes in an existing page.

  16. What protocol (such as HTTP) does CF_FileManager use to upload/download files?

    CF_FileManager uses normal HTTP protocols for the transfer of files when uploading and downloading files.

  17. Can I use SSL (Secure Sockets Layer) to encrypt data when uploading files?

    Yes. Because the files being uploaded are sent using HTTP protocols and the forms responsible for uploading the files are using the POST method, all data travelling from your machine to the server will be encrypted using the SSL installed on the host server.

  18. Can I add to the recognized file icons?

    Yes. At present over 50 file types are recognized and icons associated with them. To add your own, just create a gif image 16x16 and add it to the fileTypes folder under the selected style.

    Name your icon as: EXT.gif where EXT is the extension to be recognised.

  19. Can I add to the recognized file descriptions?

    Yes. You can pass the attribute fileDescriptions="txt=Text File, doc=Microdoft Word Document...". etc to add custom file descriptions to any type of file.

  20. What version of ColdFusion is required?

    CF_FileManager V3.2 requires CF 4.5.2, CF5 or CFMX.
    If you have Coldfusion Version 4.5, you can get Service Pack 2 from the following URL:

    http://www.macromedia.com/support/coldfusion/downloads_updates.html

  21. If I buy CF_FileManager would I be able to install it on development server as well as backup server?

    Yes. The license covers only production servers and CF_FileManager can be tested on development servers.

  22. The component installs and launches but right clicking on files results in the default browser context menu. What could be wrong?

    If you have Coldfusion debugging turned on, this can conflict with the component.

    Make sure debugging is turned off in the CF Administration Panel.

  23. Is CF_FileManager CFMX7 compatible?

    Yes. The component is fully functional under CFMX 7.

  24. Is a Linux server version available?

    A Linux Version of CF_FileManager is available. Please contact us if you wish to purchase the Linux Version.

  25. I installed CF_FileManager but get a blank screen when I try to run it

    If you uploaded the CF_FileManager code using Dreamweaver, try uploading with another FTP program such as WS_FTP.

    Dreamweaver sometimes corrupts the files as they are uploaded.