Kenneth Skovhede
e89897829d
Updated Jottacloud backend
2025-03-21 14:14:55 +01:00
Kenneth Skovhede
57c9aab3e4
Updated FTP backend
2025-03-21 11:10:40 +01:00
Kenneth Skovhede
d1659b7d40
Fixed FTP credentials not being parsed
2025-03-20 10:15:27 +01:00
Kenneth Skovhede
7405bab68f
Simplified working with the options helpers
2025-03-19 23:16:37 +01:00
Kenneth Skovhede
6cad935656
Common parsing for auth options
2025-03-19 22:40:09 +01:00
Kenneth Skovhede
8f38c82f1e
Changed order of function arguments for improved readability
2025-03-19 15:48:01 +01:00
Kenneth Skovhede
6c7843b332
Unified options
...
This PR adds a unified way of supplying timeouts to each of the backends.
It also adds an opt-in way of adding commonly used options, so parsing and usage can be standardized across multiple backends.
2025-03-19 15:27:02 +01:00
Kenneth Skovhede
0f9669b273
Final conversion to async backends
...
This PR is the final change, where all backends are now purely implemented with async interfaces.
The code changes here replace the LIST call with an async version. This affect all backends (and then some) but the changes are mostly mechanical rewrites of the code.
In many places, the backeds were already prepared for async output, in other some glue was needed.
To reduce the scope of this change, some backends simply report a synchronous result as an async list.
2025-02-17 16:45:51 +01:00
Kenneth Skovhede
bc8f6dd0c8
This adds the option to parse flags, where an enum can have multiple values.
...
It is only used by the FTP backend.
2025-01-30 10:52:17 +01:00
Kenneth Skovhede and GitHub
997891525a
Updated license-updater to update csproj files ( #5898 )
...
* Updated license-updater to update csproj files
* License updates
2025-01-22 21:04:19 +01:00
Kenneth Skovhede and GitHub
6bbd64a655
Fixed nullability warnings in Utility.cs ( #5861 )
...
* Fixed nullability warnings in `Utility.cs`
* Fixed a number of nullability issues and warnings
* More nullable fixes
* Fixed the overwrite issue
* Fixed additional nullability issues
* Removed additional nullability issues
* More nullability fixes and added some xmldoc
* Added more xmldocs and removed an unused argument
* Removed more warnings
2025-01-14 14:03:48 +01:00
Kenneth Skovhede and GitHub
9464caf622
Feature/update license 2025 ( #5851 )
...
* Fixed some minor whitespace issues
* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede and GitHub
6fdb01b52a
This commit ensures the client connects on first use, instead of relying on the library to connect. ( #5828 )
2025-01-01 14:06:35 +01:00
Kenneth Skovhede and GitHub
31503ea595
Added option to log FTP diagnostics data to regular log ( #5821 )
2024-12-31 16:47:28 +01:00
Kenneth Skovhede and GitHub
394b876985
Enable noop daemon for FTP ( #5813 )
...
This fixes an issue with timeouts on large file.
2024-12-26 10:41:06 +01:00
Marcelo C.
c8c79d09eb
Fix to re-introduce Unscaping directory names for FTP Client
...
The need for this was detected by forum post: https://forum.duplicati.com/t/ftp-without-ssl-fails-with-2-1-0-2-beta-2024-11-29/19691/12
2024-12-17 10:11:45 -03:00
Kenneth Skovhede
ac61b2afbe
Updated FluentFTP to latest.
...
This should fix #5715
2024-12-09 10:20:27 +01:00
Kenneth Skovhede
17cc382325
The legacy flag --use-ssl toggles explicit TLS
2024-12-04 08:34:09 +01:00
Kenneth Skovhede
c915b70697
Added support for ftp/aftp treating url paths as before the update
2024-11-21 14:37:25 +01:00
Kenneth Skovhede
9dadd514bf
Inverted the flag for relative paths, as that is more compatible with the previous library.
2024-11-21 13:13:44 +01:00
Kenneth Skovhede
5712264e6a
Updated some parsing to be simpler.
...
Changed the strategy to use absolute paths for all operations, to avoid cases where a silent reconnect would end up in a different folder.
Add backwards compatible option to use CWD style relative operations.
Added support for detecting the SSL certificate hash when there is a certificate error.
2024-11-19 13:55:23 +01:00
Kenneth Skovhede
2828729a59
Changed logic for how error messages are constructed
2024-11-19 06:52:17 +01:00
Marcelo Ceccon
3857d0356f
Precedence of options match to documentation
2024-10-15 12:58:37 +02:00
Marcelo Ceccon
34f108f127
Implementing backwards compatibility on ftp parameters
...
With this change, ftp-passive, ftp-regular and use-ssl parameters found on existing FTP Backend configurations will be respected and exhibit the same behavior. They are marked as deprecated so they will issue warning messages when used prompting users to refer to new parameters.
2024-10-15 12:17:51 +02:00
Marcelo Ceccon
a4482a4d03
Removing the legacy FTP Backend
...
For this change, what was known as the alternate FTP client which uses FluentFTP library now officially replaces the FTP Backend which still used the deprecated FtpWebrequest.
To mantain compatibility with existing configurations, both ftp and aftp targets and configuration prefixes are accepted.
2024-10-11 11:21:54 +02:00
Kenneth Skovhede
61ea36091a
Added DNSNames as async
2024-10-02 09:37:52 +02:00
Kenneth Skovhede
586c08522e
Implemented async method for Test, CreateFolder and Quota in all backends.
...
Still missing the List and DNSHostnames.
The AsyncRequest class is also preventing many backends from fully upgrading.
2024-10-01 09:30:02 +02:00
Kenneth Skovhede
ecf2e8b551
Implemented DeleteAsync on all backends
2024-09-29 23:04:54 +02:00
Kenneth Skovhede
e3e3d1305f
Implemented async version of Get for all backends.
2024-09-29 22:00:57 +02:00
Suguru Hirahara
c7dae6bc66
Remove conjugation - FTP/Strings.cs
2024-08-13 08:07:44 -04:00
Suguru Hirahara
6f1a913eef
Remove conjugation - supply
2024-08-13 08:07:28 -04:00
Suguru Hirahara
d4057e57c5
Make backend descriptions consistent
2024-08-02 12:05:49 -04:00
Suguru Hirahara
eb99e30929
Update the strings on FTP/Strings.cs to have them followed other instances
2024-07-31 05:14:56 -04:00
Suguru Hirahara
5848c6bf46
Change 'Use this flag' to 'Use this option'
2024-07-31 01:52:47 -04:00
Suguru Hirahara
a35f21a76d
Add periods between double quotes
2024-07-29 23:51:10 -04:00
Suguru Hirahara
a00b383ff9
Update strings on FTP/Strings.cs
2024-07-29 23:04:51 -04:00
Suguru Hirahara
c348e51048
Move DescriptionDisableUploadVerifyLong and DescriptionDisableUploadVerifyShort up
2024-07-26 22:38:45 -04:00
Suguru Hirahara
04c9b8bbfc
Sort Description and DisplayName
2024-07-26 22:38:36 -04:00
Suguru Hirahara
dba91b2a17
Sort DescriptionDisableUploadVerifyShort on FTP/Strings.cs
2024-07-26 22:38:29 -04:00
Grzegorz Łagocki
9b19bac7da
Add Copyright Property to *.csproj files
2024-07-09 00:37:18 +02:00
Kenneth Skovhede
473c6cbbb8
Merge commit '4f577c65a4d8806f79637c50c21ca3a683c5a07a' into feature/kestrel-avalonia-upgrade
2024-03-04 12:21:53 +01:00
Kenneth Skovhede
aa20088c39
Tool based upgrade of all projects with some manual update
2024-03-01 14:29:54 +01:00
Kenneth Skovhede
35cc847df7
Merge branch 'master' into feature/upgrade-to-sdk-style-projects
2024-03-01 14:28:55 +01:00
Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
Kenneth Skovhede
3bf6b162ca
Upgraded utility projects.
...
Removed redundant packages files.
Removed `mozroots` in prepare of switch to non-mono releases.
2024-02-26 08:24:48 +01:00
Kenneth Skovhede
d7b6dd90be
Updated all projects to use SDK-style projects using upgrade-assist
2024-02-25 16:19:25 +01:00
Thomas Suckow
8c518f7d3a
.net6
2022-04-12 21:43:50 -07:00
Thomas Suckow
d528703fe7
Merge branch 'master' into experiment/net5-split
...
# Conflicts:
# .github/workflows/tests.yml
# Duplicati.sln
# Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
# Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
# Duplicati/CommandLine/Duplicati.CommandLine.csproj
# Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
# Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
# Duplicati/Library/Backend/AzureBlob/AzureBlobWrapper.cs
# Duplicati/Library/Backend/Mega/Duplicati.Library.Backend.Mega.csproj
# Duplicati/Library/Backend/Mega/packages.config
# Duplicati/Library/Backend/OAuthHelper/Duplicati.Library.OAuthHelper.csproj
# Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
# Duplicati/Library/Backend/Tardigrade/Properties/AssemblyInfo.cs
# Duplicati/Library/Backend/Tardigrade/packages.config
# Duplicati/Library/Common/Duplicati.Library.Common.csproj
# Duplicati/Library/Common/IO/SystemIOWindows.cs
# Duplicati/Library/Modules/Builtin/Duplicati.Library.Modules.Builtin.csproj
# Duplicati/Library/Modules/Builtin/packages.config
# Duplicati/Library/Utility/Utility.cs
# Duplicati/License/Duplicati.License.csproj
# Duplicati/Server/Duplicati.Server.csproj
# Duplicati/Server/packages.config
# Duplicati/UnitTest/Duplicati.UnitTest.csproj
2022-02-22 19:04:01 -08:00
Kenneth Hsu
de2a651763
Fix bug in PutAsync implementations.
...
Without await, the using statement can dispose the Stream before the
call to PutAsync completes, resulting in an ObjectDisposedException.
This fixes #4556 .
2021-06-12 15:12:13 -07:00
Kenneth Skovhede
b550e61d9b
Re-added compatibility analyzers
2021-04-03 21:49:51 +02:00