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
41 lines
1.8 KiB
XML
41 lines
1.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<Copyright>Copyright © 2025 Team Duplicati, MIT license</Copyright>
|
|
<RootNamespace>Duplicati.Library.Main</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CoCoL" Version="1.8.1" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\License\Duplicati.License.csproj" />
|
|
<ProjectReference Include="..\Compression\Duplicati.Library.Compression.csproj" />
|
|
<ProjectReference Include="..\Utility\Duplicati.Library.Utility.csproj" />
|
|
<ProjectReference Include="..\DynamicLoader\Duplicati.Library.DynamicLoader.csproj" />
|
|
<ProjectReference Include="..\Interface\Duplicati.Library.Interface.csproj" />
|
|
<ProjectReference Include="..\Logging\Duplicati.Library.Logging.csproj" />
|
|
<ProjectReference Include="..\Snapshots\Duplicati.Library.Snapshots.csproj" />
|
|
<ProjectReference Include="..\SQLiteHelper\Duplicati.Library.SQLiteHelper.csproj" />
|
|
<ProjectReference Include="..\Localization\Duplicati.Library.Localization.csproj" />
|
|
<ProjectReference Include="..\UsageReporter\Duplicati.Library.UsageReporter.csproj" />
|
|
<ProjectReference Include="..\Modules\Builtin\Duplicati.Library.Modules.Builtin.csproj" />
|
|
<ProjectReference Include="..\SourceProvider\Builtin\Duplicati.Library.SourceProvider.Builtin.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Database\Database schema\*.sql" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="default_compressed_extensions.txt">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
</Project>
|