This PR moves the check from the FTP backend into shared code, so all backends will now check for read/write permissions when using the "Test" button. For situations where write permissions are not required (like restore or verify) there is a flag on the v2 API that indicates if the connection was established, so the UI can show a message suggesting that it is possible to proceed, if the current UI operation does not require write permissions. This fixes #2473
25 lines
949 B
XML
25 lines
949 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<Copyright>Copyright © 2025 Team Duplicati, MIT license</Copyright>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<RootNamespace>Duplicati.Library.Backend.Box</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\Interface\Duplicati.Library.Interface.csproj" />
|
|
<ProjectReference Include="..\..\Localization\Duplicati.Library.Localization.csproj" />
|
|
<ProjectReference Include="..\..\Utility\Duplicati.Library.Utility.csproj" />
|
|
<ProjectReference Include="..\..\Logging\Duplicati.Library.Logging.csproj" />
|
|
<ProjectReference Include="..\..\Backend\OAuthHelper\Duplicati.Library.OAuthHelper.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|