Open Closed

How to save FileSystem in FileManagement module #1308


User avatar
0
devteam created

Dear support team,

I'm using File System Provider, and i want to save file in another server. Please tell me how to do that.

  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can create a network shared folder.

    example:

    Configure<AbpBlobStoringOptions>(options =>
    {
        options.Containers.ConfigureDefault(container =>
        {
            container.UseFileSystem(fileSystem =>
            {
                fileSystem.BasePath = "@"\\server\\shared\\my-files";
            });
        });
    });
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11