Page 1 of 1

Store file names for further copy.

Posted: Thu Mar 18, 2010 9:27 am
by tua1
Hello

I try use search but found nothing useful, or maybe did it wrong way...
I am creating a simple file browser, that has similar behavior to windows explorer (ctrl+c etc), and I wonder why should I store file names witch I want to copy to other directory.

1. DB
2. Serialize
3. Session


What will be the best? or maybe there is an other option?

And another thing: is this worth business to create an object (eg. FileMessenger that stores
the current path and file names plus implement Iterator on it?) for sending it from controller to model? Is this good way?

Could anybody give me advice?

Re: Store file names for further copy.

Posted: Tue Apr 06, 2010 4:44 am
by maneetpuri
Hi,

If you can give some inputs on the need that is making you think about developing this module then I might be able to suggest better. But for a thing like web based file manger, there are many pre-built solutions available and you find them easily on net.

As you are doing it web-based so you will have to define all the files & folders on which this fliemanger will work.

Cheers,
~Maneet