Best methodology for File Uploading :How does Youtube? -


What is the best way to upload files to a server using my website? Each user will upload some files into their file. Can I put all the files in the same directory? Do I need to create folders and keep files for each user? How are you tube Any remedy? How do I store the information uploaded in the database? The most effective way to do this is to handle large numbers of users and files. I do not want to know about the use of APIs and all. I want to know the best approach (file organization)

thanks in advance

A folder will be close to each user, its more manageable!

I will not imagine a huge folder with loads of files!

You can eliminate duplicate file names and end the removal of another user files!

I will create a directory for every user!


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -