Smb
Installation
dotnet add package Dosaic.Plugins.Persistence.Smb<PackageReference Include="Dosaic.Plugins.Persistence.Smb" Version="" />Configuration
appsettings.yml
smb:
server: example.com
domain: mydomain.com
username: smbuser
password: s3cr3t
defaultShare: myshare
driveMappings:
- drive: 'J:'
share: docs
- drive: 'K:'
share: archive
shareMappings:
- folder: Reports
share: reports-share
- folder: Uploads
share: uploads-shareConfiguration Properties
Property
Type
Description
Path resolution order
Usage
Registering the plugin
Injecting ISmbStorage
ISmbStorageWriting files
Reading files
Ensuring a directory path exists
Deleting files
Using drive and share mappings
Features
Last updated