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

File Share within File manager #10143


User avatar
0
retrodomeuk created

I note references to File Share within File manager, this would be very useful to me in my MVC project but I cannot find any other reference to it. Is there more details somewhere to configure it, is it tied to specific versions, specific blob storage providers etc.

https://abp.io/modules/file-management

screen shot for brevity:


2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    1. Solution
    • What “File Sharing” is: It is a built-in feature of the ABP Commercial File Management module that allows you to generate an anonymous, shareable link for a file so that users without authentication can access it. It is part of the module’s UI and application layer; you don’t need a separate provider or package for “sharing.”
    • Availability and UI: The feature is available in the Commercial File Management module for all supported UIs of the module, including MVC. You must have the File Management module installed and configured in your solution and have the related permissions to see and use the Share action in the File Manager UI.
    • Storage providers: File sharing works regardless of which blob provider you use because the module stores file contents via ABP’s Blob Storing abstraction. You can use File System, Database, or Azure providers, and the sharing functionality still works (sharing is implemented at the application/module level, not as a capability of a specific provider).
    • Version notes: Use the File Management module version that matches your ABP solution version. The feature is part of the module; no special version gating per provider is required. If you’re on 9.34, use the corresponding commercial package version for that ABP release.

    Setup steps (MVC):

    1. Install the module:
      • abp add-module Volo.FileManagement
      • Run your DbMigrator to apply migrations.
    2. Configure a blob provider for File Management’s container (example: File System):
    private void ConfigureBlobStoring(IConfiguration configuration)
       {
           Configure<AbpBlobStoringOptions>(options =>
           {
               options.Containers.Configure<FileManagementContainer>(c =>
               {
                   c.UseFileSystem(fs =>
                   {
                       fs.BasePath = configuration["FileManagement:BasePath"]; // e.g. "D:\\abp-files"
                   });
                   // You can alternatively use Database or Azure providers.
               });
           });
       }
    
    1. Add the module to your Web module dependencies if not already added:
    [DependsOn(
           typeof(FileManagementWebModule) // plus other module deps
       )]
       public class YourProjectWebModule : AbpModule
       { }
    
    1. Ensure permissions are granted:
      • Grant File Management permissions (at least to view directories/files and to “Share” files) to your role/user. Without the permission, the Share action will not be visible in the UI.
    2. Use the File Manager UI:
      • Navigate to the File Management page from the main menu, upload a file, open Actions for a file, and toggle “Enable file sharing.” The module will generate a shareable link you can copy. Anyone with the link can access the file.

    Key points:

    • Not tied to a specific provider.
    • No special configuration beyond installing the File Management module, configuring any blob provider, and granting permissions.
    • The sharing link is generated and served by the module; it does not depend on Azure SAS or similar provider-native sharing mechanisms.
    1. Sources
    • https://abp.io/modules/file-management
    • https://abp.io/docs/latest/modules/file-management
    • https://abp.io/modules/Volo.FileManagement

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    This is a new feature. Will be available in abp 10.1.

    Thanks.

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.