dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Best Practices: Organizing File Uploads

  1. #1
    Join Date
    Feb 2008
    Posts
    78

    Best Practices: Organizing File Uploads

    Hi I'm programming a site that handles alot of user uploads, I was wondering what are some of the best practices for organizing lot of user uploaded files on a server.

    For example how to organize folders etc.

    Thanks,
    -GB

  2. #2
    Join Date
    Feb 2012
    Posts
    46
    Well, however is most convenient and makes most sense for your application, of course. Just remember that it's not a good idea to store more than 10 thousand files on Linux servers in a single folder, it's even better to simply not store more than thousand per folder.

    To do this, you should simply create subfolders that minimize the risk of such a large number of files. You can separate them in subfolders (for example, storing a file alphabet.pdf in /alp/ subfolder) or store them based on creation dates.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles