On May 25, 11:39 pm, "kai" <kaili...@bellsouth.net> wrote:
> Alexey,
> Thank you for your help!
> I want to create a web site which manages files for authorized users,
> uploading and downloading.
>
> 1. A user can create a folder and sub folders for himself on a web page,
> then can see his folders in tree views on the web page. The user can then
> upload files and download files from his owen folder and subfolders.
>
> 2. The next time the user logs in, he will only see his owen folders
> displayed on the web page, and it is protected from being accessed by other
> users.
>
In principle, you don't need to create a folders. As Bjorn said, there
may be all sorts of magic. A "directory tree" can be saved as a
configuration in a database. All files can be either uploaded to
server drive in a global directory (plus names of the files in the
database), or stored directly in a database, as Bjorn has told you.
There are pros and cons of each solution and also a lot of discussions
about that matter
Just found an article that might be interesting to you, take a look
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=414