From 02cbc242d9bde2dfed3b7cd245aed0668c1ec5e7 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 19 Oct 2022 15:58:56 +0200 Subject: [PATCH] Fix local download path --- IOB-WIN-NEXT/IobGeneric.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IOB-WIN-NEXT/IobGeneric.cs b/IOB-WIN-NEXT/IobGeneric.cs index 816ee7be..e7d719ff 100644 --- a/IOB-WIN-NEXT/IobGeneric.cs +++ b/IOB-WIN-NEXT/IobGeneric.cs @@ -4748,7 +4748,7 @@ namespace IOB_WIN_NEXT bool answ = false; // salvo articoli string locDir = getOptPar("FTP_LOC_DIR"); - string basePath = Directory.GetCurrentDirectory(); + string basePath = Application.StartupPath; string tempDir = Path.Combine(basePath, locDir); if (!Directory.Exists(tempDir)) {