Read Local File System

Does anyone know the best way to read the local file system from Rails?
Is this even possible?

Does anyone know the best way to read the local file system from Rails?
Is this even possible?

If by local you mean the client’s desktop pc file system, then no.

If you mean the local file system of the OS that is running rails, then
yes.

http://www.ruby-doc.org/core/classes/File.html

Yeah I meant the client’s machine.

Thanks.

Philip H. wrote:

Does anyone know the best way to read the local file system from Rails?
Is this even possible?

If by local you mean the client’s desktop pc file system, then no.

If you mean the local file system of the OS that is running rails, then
yes.

class File - RDoc Documentation

On 10/28/06, Guest [email protected] wrote:

Does anyone know the best way to read the local file system from Rails?
Is this even possible?

A trusted java applet communicating with the server could do it.

martin

I don’t believe that’s possible.
It would mean that a ‘website’ could read your HD, I’m not sure you
would want that.