It is not possible to list a client directory using coldFusion. That would be a HUGE security risk.
You will need to find a client side solution. On Sun, Nov 1, 2009 at 8:39 PM, Joshua Rowe <[email protected]> wrote: > > Hello, > > I have a ColdFusion page that lists files on my computer using the > <cfdirectory> tag, starting with my C:\ drive. When I upload the ColdFusion > page to my hosting account, I can no longer view the file listing. The > following error comes up: > > access denied (java.io.FilePermission (directory location) read) null > > How do I go about listing files on my computer if the ColdFusion page is on > the hosting server? This is for a file upload program I am working on. > > Thanks! > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327893 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

