From 0d92b57dae53ea259a4fe5f742e21144ea8b42c4 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 28 Jun 2021 19:43:37 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20modalit=C3=A0=20download=20update=20MP-ST?= =?UTF-8?q?ATS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MP-LAND/Controllers/HomeController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MP-LAND/Controllers/HomeController.cs b/MP-LAND/Controllers/HomeController.cs index 4987477c..58a08f33 100644 --- a/MP-LAND/Controllers/HomeController.cs +++ b/MP-LAND/Controllers/HomeController.cs @@ -265,8 +265,9 @@ namespace MP.Controllers // scarico singolo target... string remoteUrl = updateUrlAuth(caller); string localPath = localDownloadPath(caller); + string localName = caller.Replace("MP-", ""); - updManAuth.downloadLatest(remoteUrl, localPath, caller); + updManAuth.downloadLatest(remoteUrl, localPath, localName); stopWatch.Stop(); // calcolo elapsed time come TimeSpan value. TimeSpan ts = stopWatch.Elapsed;