diff options
-rw-r--r-- | Duplicati/Library/Backend/FTP/FTPBackend.cs | 5 | ||||
-rw-r--r-- | Duplicati/Library/Main/BackendWrapper.cs | 2 | ||||
-rw-r--r-- | Duplicati/License/VersionNumbers.cs | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/Duplicati/Library/Backend/FTP/FTPBackend.cs b/Duplicati/Library/Backend/FTP/FTPBackend.cs index 2d5c2bdff..33ed42ba5 100644 --- a/Duplicati/Library/Backend/FTP/FTPBackend.cs +++ b/Duplicati/Library/Backend/FTP/FTPBackend.cs @@ -78,6 +78,11 @@ namespace Duplicati.Library.Backend m_url = url;
if (!m_url.EndsWith("/"))
m_url += "/";
+
+ //HACK: We modify the commandline options to alter the setting it the ftp backend is loaded
+ if (!options.ContainsKey("list-verify-uploads"))
+ options.Add("list-verify-uploads", "true");
+
}
#region Regular expression to parse list lines
diff --git a/Duplicati/Library/Main/BackendWrapper.cs b/Duplicati/Library/Main/BackendWrapper.cs index 07d5eceb2..9bba32e27 100644 --- a/Duplicati/Library/Main/BackendWrapper.cs +++ b/Duplicati/Library/Main/BackendWrapper.cs @@ -1049,7 +1049,7 @@ namespace Duplicati.Library.Main ProgressEvent(50, m_statusmessage);
}
- if (!m_options.ListVerifyUploads)
+ if (m_options.ListVerifyUploads)
{
Library.Interface.FileEntry m = null;
foreach (Library.Interface.FileEntry fe in ListInternal())
diff --git a/Duplicati/License/VersionNumbers.cs b/Duplicati/License/VersionNumbers.cs index 28c298d3b..a836529d9 100644 --- a/Duplicati/License/VersionNumbers.cs +++ b/Duplicati/License/VersionNumbers.cs @@ -56,6 +56,8 @@ namespace Duplicati.License return "1.2 RC";
else if (v == new Version(1, 1, 99, 794))
return "1.2 Final";
+ else if (v == new Version(1, 2, 1, 856))
+ return "1.2.1 Final";
else
return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
}
|