From 3d9dc76ebfbc9e324e698b0cd960878ed0eebea1 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 31 Oct 2024 14:56:08 +0100 Subject: [PATCH] Typo fix --- EgwProxy.Ftp/Manager.cs | 3 +-- IOB-WIN-NEXT/DATA/CONF/FTP_SONATEST.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/EgwProxy.Ftp/Manager.cs b/EgwProxy.Ftp/Manager.cs index 1f208036..524f3ea4 100644 --- a/EgwProxy.Ftp/Manager.cs +++ b/EgwProxy.Ftp/Manager.cs @@ -211,8 +211,7 @@ namespace EgwProxy.Ftp try { tryConnect(); - //var result = client.DownloadDirectory(localDir, remoteDir, FtpFolderSyncMode.Mirror, FtpLocalExists.Overwrite, FtpVerify.Retry); - // upload della folder + files, cancellazione extra files = mirroring + // download della folder secondo modalità sync var result = client.DownloadDirectory(localDir, remoteDir, syncMode); //answ = (result != null && result.Count > 0); answ = result != null && result.Where(x => !x.IsSuccess).Count() == 0; diff --git a/IOB-WIN-NEXT/DATA/CONF/FTP_SONATEST.json b/IOB-WIN-NEXT/DATA/CONF/FTP_SONATEST.json index 73ae829f..de2bdc0f 100644 --- a/IOB-WIN-NEXT/DATA/CONF/FTP_SONATEST.json +++ b/IOB-WIN-NEXT/DATA/CONF/FTP_SONATEST.json @@ -17,7 +17,7 @@ "Action": "mirrorDirR2L", "ParamList": { "RemoteDir": "ftpdata/syncfolder", - "LocalDir": "\\\\iis01\\W$\\Files\\ODL" + "LocalDir": "\\\\iis01\\W$\\Files" } } ]