What is the best method to follow for uploading files to server using my website ? Each user will upload some files to his profile.Should i place all files in a single directory or do i need to create folders for each user and keep the files there? How you tube is doing this ? Any idea ? How should i store the uploaded info in database.Whats the best efficied approcach to do this when handling large number of users and files . I dont want to know about the usage of API and all.I want to know the best approach (file organization)
Thanks in advance