User-files organization in a Web server
问题 I'm developing a Web application where users can upload files. Suppose to have different file categories, e.g. audio and docs . I guess I can put all the files that belongs from a category in a unique folder, e.g.: audio_dir -file_from_user1.mp3 -another_file_from_user1.mp3 -file_from_user2.mp3 -file_from_user4.mp3 docs_dir -file_from_user1.doc -file_from_user5.pdf The other solution I'm evaluating uses a third level, where files are grouped by users. audio_dir user1_dir -file_from_user1.mp3