Trying to create a new folder the first time a user uploads files

Discussion in 'ASP.NET / ASP.NET Core' started by Rookie, Feb 21, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I am having trouble figuring out how to create a folder during the file upload process.

    I would like to be able to create a new folder for a user the first time they upload files and then associate that user with the folder. So each user has there own folder. I think this is possible but I can't seem to figure it out./emoticons/freaked.gif Anybody have any suggestions?

    Thank You
     
  2. But don't you have to impersonate the system admin when doing so? At least I thought you do, but I am probably wrong.
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    You can use File System Object to create folder if you are using ASP.

    If you are using ASP.NET, you can create folder using System.IO.Directory class.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    you don't if you are creating folder within your website. The IUSR / ASPNET user should have change permission by default.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. Thank you, my name isn't rookie for nothing.


    Jon
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page