Configure the FileManager

Hello everybody,

file manager allows custom configuration for users.

For manage the file manager with custom configuration you can edit the FileManager.xml.cfm located in /fileManager/config/. This is a default file that will be used to set every session within the onSessionStart event.

Set the custom configuration for users.

You can set a custom configuration for users with this component instance set into the session scope "fileManager.metadata.Config". When you have constructed the object, set the object into the session scope.

<cfset session.config = myConfigObj />

Set the custom root path.

Also you can set the custom root path when you change the configuration file. The root configuration param is "basePath"; this param configures the base directory to start listing.

If you want use the directory outside the wwwroot, I have to edit the absolutePath and remove the comment.

<fileManager>
   
   <config>
      <!-- default permissions if value is * you have full permission-->
      <setting name="permissions" value="*" />
      <!-- write an error if this setting is true -->
      <setting name="logerror" value="true" />
      <!-- disk space value in KB -->
      <setting name="maxDiskSpace" value="60000" />
      <!-- upload size limit in KB-->
      <setting name="sizeLimit" value="5000" />
      <!-- mime type upload permissions -->
      <setting name="mimetypes" value="*" />
      <!-- upload exception management -->
      <setting name="nameconflict" value="makeunique" />
      <!-- relative path -->
      <setting name="basePath" value="fileSystem" />
      <!--
      set an absolute path for explore directory outside the web root
      if this setting is not declared the default setting is expandPath('/')
      <setting name="absolutePath" value="/Applications/ColdFusion9" />
      -->

   </config>
   
</fileManager>

Comments
TJ's Gravatar I'm demoing the FileManager and I am having issues with "The value returned from the getService function is not of type Component." The errors are thrown when the application initially loads. The issues are with getIconExtensionList, getDirectories and getFiles.

The application loads, but I only see the root folder, cannot upload or create directories. Always throws the same error:

The value returned from the getService function is not of type Component.
If the component name is specified as a return type, it is possible that either a definition file for the component cannot be found or is not accessible.

The error occurred in /var/www/fileManager/core/FileManager.cfc: line 80
Called from /var/www/fileManager/core/FileManager.cfc: line 55
Called from /var/www/fileManager/remote/FileManager.cfc: line 29
Called from /var/www/fileManager/remote/FileManager.cfc: line 79

78 :       <cfargument name="name" type="string" required="true" hint="Plugin name" />
79 :       
80 :       <cfreturn variables.plugins.get( arguments.name ).getService() />
81 :    </cffunction>
82 :    

On a side note, this is running on Ubuntu - Apache/Coldfusion9, so case sensitivity is an issue.

Any help would be greatly appreciated
# Posted By TJ | 3/16/11 5:32 AM
burberry outlet's Gravatar thank you for your great post!!i am really apriciate with what you said!
# Posted By burberry outlet | 4/15/11 10:05 PM
beats by dre's Gravatar ://www.monstersbeatsbydre.org/ beats by dre
://www.monstersbeatsbydre.org/ monster beats
://www.monstersbeatsbydre.org/ beats by monster
://www.monstersbeatsbydre.org/ monster beats by dre
://www.monstersbeatsbydre.org/ monster headphone
# Posted By beats by dre | 8/1/11 2:27 AM
belstaff sale's Gravatar ://www.b2ctraders.com/ belstaff sale
://www.b2ctraders.com/belstaff-bags-c-83.html belstaff bags
://www.b2ctraders.com/belstaff-bags-belstaff-bags-554-c-83_85.html belstaff bags 554
://www.b2ctraders.com/belstaff-bags-belstaff-bags-556-c-83_86.html belstaff bag 556
://www.b2ctraders.com/belstaff-bags-belstaff-bags-561-c-83_87.html belstaff bags 561
://www.b2ctraders.com/belstaff-bags-belstaff-bags-556-c-83_86.html belstaff shoulder bags
://www.b2ctraders.com/belstaff-bags-belstaff-bags-551-c-83_84.html belstaff messenger bag
# Posted By belstaff sale | 9/25/11 12:17 AM
belstaff sale's Gravatar ://www.b2ctraders.com/ belstaff sale
://www.b2ctraders.com/belstaff-bags-c-83.html belstaff bags
://www.b2ctraders.com/belstaff-bags-belstaff-bags-554-c-83_85.html belstaff bags 554
://www.b2ctraders.com/belstaff-bags-belstaff-bags-556-c-83_86.html belstaff bag 556
://www.b2ctraders.com/belstaff-bags-belstaff-bags-561-c-83_87.html belstaff bags 561
://www.b2ctraders.com/belstaff-bags-belstaff-bags-556-c-83_86.html belstaff shoulder bags
://www.b2ctraders.com/belstaff-bags-belstaff-bags-551-c-83_84.html belstaff messenger bag
# Posted By belstaff sale | 9/25/11 12:17 AM
belstaff sale's Gravatar ://www.b2ctraders.com/ belstaff sale
://www.b2ctraders.com/belstaff-bags-c-83.html belstaff bags
://www.b2ctraders.com/belstaff-bags-belstaff-bags-554-c-83_85.html belstaff bags 554
://www.b2ctraders.com/belstaff-bags-belstaff-bags-556-c-83_86.html belstaff bag 556
://www.b2ctraders.com/belstaff-bags-belstaff-bags-561-c-83_87.html belstaff bags 561
://www.b2ctraders.com/belstaff-bags-belstaff-bags-556-c-83_86.html belstaff shoulder bags
://www.b2ctraders.com/belstaff-bags-belstaff-bags-551-c-83_84.html belstaff messenger bag
# Posted By belstaff sale | 9/25/11 12:17 AM
belstaff sale's Gravatar ://www.b2ctraders.com/ belstaff sale
://www.b2ctraders.com/belstaff-bags-c-83.html belstaff bags
://www.b2ctraders.com/belstaff-bags-belstaff-bags-554-c-83_85.html belstaff bags 554
://www.b2ctraders.com/belstaff-bags-belstaff-bags-556-c-83_86.html belstaff bag 556
://www.b2ctraders.com/belstaff-bags-belstaff-bags-561-c-83_87.html belstaff bags 561
://www.b2ctraders.com/belstaff-bags-belstaff-bags-556-c-83_86.html belstaff shoulder bags
://www.b2ctraders.com/belstaff-bags-belstaff-bags-551-c-83_84.html belstaff messenger bag
# Posted By belstaff sale | 9/25/11 12:18 AM
Chaisy's Gravatar Thank you! needed some word of advice about the file manage ://www.fixcleanerreviews.net Merry Christmas
# Posted By Chaisy | 12/31/11 11:20 AM
ghd hair straighteners australia's Gravatar The bold creations in its <a href="://www.paulsmithcheapsales.co.uk/">paul smith shop</a> line and accessories are sure to get one noticed even in the crowd. The <a href="://www.paulsmithcheapsales.co.uk/">paul smith bags</a> available in this brand give you a flattering fit and many of them are donned with rhinestones for a more contemporary look. The colorful vintage <a href="://www.tommy-hilfiger-uk.co.uk">hilfiger sale uk</a> inspired graphics on the t-shirts featuring the over the front and back lend a classic look that is extraordinary. The <a href="://www.tommy-hilfiger-uk.co.uk">tommy hilfiger sale uk</a> is also quite a piece to own. They come in If you are buying directly from the official <a href="://rolexhots.com/Rolex-Milgauss-c-434_448.html"><font color="#0000CC" size="4" face="serif"><strong>rolex milgauss replica</strong></font></a>, then you are of course going to be getting the real deal.
Different styles and designs of <a href="://www.lyhandbags.com/chloe.html"><font color="#990099" face="Fixedsys"><strong>chloe replica</strong></font></a> are now available to make your wrist beautiful.
When these are <a href="://www.lyhandbags.com/balenciaga.html"><font color="#000000" size="4" face="Arial"><strong>balenciaga replica handbags</strong></font></a>, the excitement just gets doubled.
So my suggestion to all of those who are considering <a href="://www.rolexhots.com/Patek-Philippe-c-341.html"><font color="#999966" face="??"><strong>patek philippe replica</strong></font></a> as a gift for your loved ones for any special occasion would be to definitely check out their amazing.
# Posted By ghd hair straighteners australia | 1/9/12 9:14 PM
Microsoft Office 2010's Gravatar Such workout like coach outlet for the reason that allows keep the feet
# Posted By Microsoft Office 2010 | 1/16/12 11:35 PM
Burberry Outlet's Gravatar Burberry Outlet prospects of its major market China means the upmarket retailer has now lost more than 25% of its value. Burberry Coat Today the group was once again bearing the brunt of investors' concerns
# Posted By Burberry Outlet | 2/5/12 6:24 PM
hogan scarpe's Gravatar So you have accessory which is versatile. One of things appreciated by it's fans is the versatility of Louis Vuitton Borse.
# Posted By hogan scarpe | 2/24/12 8:31 PM
waytowholesales's Gravatar Surprise,every one,i found good website to sell replica handbag..so i share with friends.
://www.waytowholesales.com/product_list-Handbag-c_31.html
# Posted By waytowholesales | 2/27/12 6:48 AM
Justbeenpaid's Gravatar Great guide! I did and it worked liked perfect! ://www.justbeenpaidscam.net/ will try it for ://www.fixcleanerreviews.net/fixcleaner-scam
Have a great week!
Seed Mirage
# Posted By Justbeenpaid | 3/19/12 4:05 PM
soccershoewow's Gravatar In the office at the end of the ceremony is about to, <a href="://www.soccershoeswow.com">Soccer Shoes</a>mercurial talaria a peripheral guard suddenly rush rush in, people not to sound to ring out: "newspaper, a new task order." "You like what kind of guarded? Haven’t seen what is this occasion, hurry to get it down." See the guard is a face of nervously appearance, black wind evil spirit immediately scold a way, then it up that roll order material look at, suddenly he also become some ugly face up.AC Milan famous crazy commentator Lu Daili recently participated in the Italy Friday prime-time broadcast<a href="://www.soccershoeswow.com">Nike CTR360</a> , Soccer cleats in the program, a senior AC Milan fans, discovered a lot of secrets, including Berlusconi and Guardiola have Soccer shop a relatively frequent contact.

The <a href="://www.soccershoeswow.com/nike-cleats-nike-tiempo-soccer-cleats-c-25_36.html">Nike Tiempo Soccer Cleats</a> are one of the most consistent boots you will currently find on the market. They offer pretty much the complete package for any player who fits the playmaker mold, or any player that aspires to be a playmaker. On field, they offer great performance and work out exactly as you would expect – and better! While <a href="://www.soccershoeswow.com/">Adidas Football</a> dribbling, you are able to keep the ball closer to your feet by using the dampening pods up around the front of the boot. <a href="://www.soccershoeswow.com">Adidas F50</a> are raised slightly off the boot and are basically padded regions that allow for a softer touch on the ball. The side pass and control pads and the control region serves a <a href="://www.soccershoeswow.com/adidas-cleats-adidas-predator-soccer-cleats-c-80_93.html">Adidas Predator Soccer Cleats</a> valid purpose.
# Posted By soccershoewow | 5/14/12 6:07 PM
cheapsoccershoes's Gravatar In order to allow the player threw himself into the game, Nike CTR360 to provide them with a unique ball boots customized services, to ensure maximum wearing comfort and high performance.
# Posted By cheapsoccershoes | 5/14/12 6:11 PM
RIcky's Gravatar This is a great explanation about configuring the file manager. will help ://www.justbeenpaidfraud.com have a great week It will definitely help.
Ricky
# Posted By RIcky | 5/28/12 3:51 PM
stretch's Gravatar Live a healthy life with trustworthy tips and advice on health, nutrition, fitness, weight loss, and recipes from the experts at . ://www.comehealths.com
://www.healthsidea.com
://www.healthsnew.com
# Posted By stretch | 3/4/13 10:05 PM
Cherie's Gravatar Get all the latest travel and tourism news from travel expert tratrips. We offer you travel advice, tips and destination information ://www.tratrips.com
://www.onlitour.com
://www.tratour.com
# Posted By Cherie | 3/4/13 10:07 PM
Alexia's Gravatar Find travel news, pictures and video from havtrip.com,Learn about the best destinations, the best ways to get there. ://www.byatour.com
://www.takertrip.com
://www.havtrip.com
# Posted By Alexia | 3/4/13 10:08 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.5.006. | Protected by Akismet | Blog with WordPress