list files on user's computer?

2009-11-01 Thread Joshua Rowe
Hello, I have a ColdFusion page that lists files on my computer using the 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

Re: list files on user's computer?

2009-11-01 Thread Kevin Pepperman
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 wrote: > > Hello, > > I have a ColdFusion page that lists files on my computer using the > tag, startin

Re: list files on user's computer?

2009-11-01 Thread AJ Mercer
The hosting provider has most likely disabled cffile & cfdirectory You will need to get in contact with them to see what CF functions / tags have been disabled - for 'security purposes' and see what work arounds they can provide for you. They may be able to set up a sandbox such that you can see

Re: list files on user's computer?

2009-11-01 Thread Azadi Saryev
as Kevin said, you can't list files/dirs on CLIENT (user's) computer using tag. cfdirectory reads files on the server where cf is installed, provided this tag is not disabled and the directories on the server have read permissions for the system user account CF is running under. you were able to