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)
-
0
Hi,
No, The file management module does not support this, you need to implement it yourself
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
if I have like 100k+ files in the same Basepath folder will I face any performance issue ? or ABP can handle it
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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 ?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)