create folders and files through linux system commands in rails application

Hi,

can anyone suggest me how to create folders and files through linux system commands in rails application and to provide drag and drop support to them

Thanks,
Rajesh

Hi Rajesh

What exactly do you mean by “drag and drop support”?

I presume the files are on the server. For the system stuff have a
look at FileUtils (standard ruby library). That won't do the
drag/drop of course, which I presume you want to do in the browser.
It sounds a rather strange requirement, using browser on client to
manipulate files/folders on the server.

Colin