From 7fe6bc45be754c5844d24b1a31bfa2565791b87e Mon Sep 17 00:00:00 2001 From: "kenneth.skovhede@gmail.com" Date: Wed, 10 Aug 2011 09:56:10 +0000 Subject: Tagged 1.2.1 final git-svn-id: https://duplicati.googlecode.com/svn/tags/1.2.1 Final@856 59da171f-624f-0410-aa54-27559c288bec --- Duplicati/Library/Backend/FTP/FTPBackend.cs | 5 +++++ Duplicati/Library/Main/BackendWrapper.cs | 2 +- Duplicati/License/VersionNumbers.cs | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) 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(); } -- cgit v1.2.3