diff options
author | kenneth.skovhede@gmail.com <kenneth.skovhede@gmail.com@59da171f-624f-0410-aa54-27559c288bec> | 2011-08-10 13:56:10 +0400 |
---|---|---|
committer | kenneth.skovhede@gmail.com <kenneth.skovhede@gmail.com@59da171f-624f-0410-aa54-27559c288bec> | 2011-08-10 13:56:10 +0400 |
commit | 7fe6bc45be754c5844d24b1a31bfa2565791b87e (patch) | |
tree | 98451a845ce076ab21136b684c5764f463a4b6f5 | |
parent | d029806f7d3332bf0a2c3e8fc8b969f86e21946d (diff) |
Tagged 1.2.1 final1.2.1-final
git-svn-id: https://duplicati.googlecode.com/svn/tags/1.2.1 Final@856 59da171f-624f-0410-aa54-27559c288bec
-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();
}
|