BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec
Open Closed

File management #5994


User avatar
0
s.alshammari.c created

I use Blob storing on a file system and files are saved on BasePath when I create folders on file management UI its only created on database . is there a way to create those folders physically and files uploaded saved into them and not only on the database?

I use asp, sql server , and angular


5 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    No, The file management module does not support this, you need to implement it yourself

  • User Avatar
    0
    s.alshammari.c created

    if I have like 100k+ files in the same Basepath folder will I face any performance issue ? or ABP can handle it

  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    It's better to use Minio or Azure blob if you have many files.

    • https://docs.abp.io/en/abp/latest/Blob-Storing-Azure
    • https://docs.abp.io/en/abp/latest/Blob-Storing-Minio
  • User Avatar
    0
    s.alshammari.c created

    I am building file storage application to be consumed a cross my other apps and I am storing files on server as blobs , so having many files will lead to performance problems if I didn't use Azure blob or Minio ?

  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    https://docs.abp.io/en/abp/latest/Blob-Storing-File-System#file-path-calculation https://docs.abp.io/en/abp/latest/Blob-Storing-File-System#extending-the-file-system-blob-provider

    You can replace the default file path calculator:

    [ExposeServices(typeof(IBlobFilePathCalculator))]
    public class MyBlobFilePathCalculator: IBlobFilePathCalculator, ITransientDependency
    {
        public virtual string Calculate(BlobProviderArgs args)
        {
            .....
        }
    }
    

    so having many files will lead to performance problems if I didn't use Azure blob or Minio ?

    I'm not sure, but because Minio and Azure blob are pro file storage sysetm. They usually have better performance and other useful features.

    You can deploy the minio server by yourself, which is more recommended.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.