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 7780899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T19:03:12+00:00 2026-06-01T19:03:12+00:00

I have to make a virtual filesystem in MySql (using asp.net as the web-application).

  • 0

I have to make a “virtual filesystem” in MySql (using asp.net as the web-application). It’s not going to be very complex, probably maximum 2-3 subfolders “deep”, with maybe up to 10 files in each folder. Each user will have their own folders and files after they log in. The admin(s) should be able to make “templates”, and assign a template to new users. A template will have a few folders and files in it. And this is what I’m scratching my head on how to make. I think I’m at least close to design the tables, but I’m not sure. Here is the tables I’ve created so far:

Files
 ID
 Name
 ContentType
 FileDataSize
 FileData
 Parent_Folder_ID

Folders
 ID
 Name
 Parent_Folder_ID

Users
 ID
 Name
 Email
 Password

Templates
 ID
 Name

User_Templates
 User_ID
 Template_ID

Am i on the right track here? Or am I missing something?

  • 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-01T19:03:14+00:00Added an answer on June 1, 2026 at 7:03 pm

    This looks pretty simple, and this will probably just work for your purposes.
    The only problem you will run into, is that you will need several queries to determine the the full path for a leaf node.

    The easiest way to solve this, is to actually store the full path in a separate column, such as:

    folder1/folder2/node

    Not as pretty, but certainly the absolute easiest to deal with.

    Alternatively, you could use the preorder tree traversal algorithm, but this can be more complex, and while fetching sub-tree’s is fast, updates may be incredibly slow.

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

Sidebar

Related Questions

I have an ASP.NET application (Root Application) that has a virtual directory set up
I have an asp.net 2.0 web application that will run on the same web
I have to make a graphical user interface application using the language of my
I have to make a connection to an XMLRPC site from a web application,
I want to run my new web application with forms authentication under the ASP.NET
Using this sample : I have make my own Fragment that holds tabhost and
I have to make a hardware project using a microcontroller, memory, screens, etc. Is
I using XAMPP and I have configure it in order to have virtual hosts
Why doesn't C++ make destructors virtual by default for classes that have at least
I'm doing a college assignment in XNA to make a virtual piano. I have

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.