Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7830281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:09:49+00:00 2026-06-02T11:09:49+00:00

I am implementing a website which allows users to upload their files. I wonder

  • 0

I am implementing a website which allows users to upload their files. I wonder how the upload folder should be structured so that I can manage the uploaded files easily in the future. Should I provide different users with different sub-folders (for example, upload/user1 for user1, upload/user2 for user2, etc.) or should I just put them all in the same folder? And should I rename the uploaded files? (I know that a lot of websites do this!)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T11:10:03+00:00Added an answer on June 2, 2026 at 11:10 am

    If you won’t be using BLOB, and the users may have an arbitrary number of images, then I think you should be using the subfolders. For instance, you could create a subfolder named after the user’s id. One of the reasons for this is that when the folder contains A LOT of files, the access times increase as it takes more time to find the file with specified name. You could also rename the files when they’re stored just so that there would be no chance of their names overlapping. Just don’t forget to store the newly-generated names in the DB.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm implementing an Auto-Twitter feature into my website that allows users to Auto-Post content
I am implementing caching for my website which is using Zend Framework. I look
I have a windows application which is published on a website and can be
I'm implementing a 'testing mode' with my website which will forbid access to certain
I am implementing a search functionality in a website I am building, which involves
I have a database for a forum-like website. It has a 'users' table, which
I'm working on a website, and I'm implementing a friend system. People can become
I am developing an intranet web application which should provide its users with a
ASP.NET website recommends implementing Disposable on my repository which affects my datacontext. Is it
I'm adding activity log to a busy website, which should show user the last

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.