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
20 lines
601 B
XML
20 lines
601 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>Duplicati.Library.Interface</RootNamespace>
|
|
<Copyright>Copyright © 2025 Team Duplicati, MIT license</Copyright>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\PackageRef\Duplicati.PackageRef.csproj" />
|
|
<ProjectReference Include="..\Localization\Duplicati.Library.Localization.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|