This commit is contained in:
Samuele Locatelli
2024-10-31 14:56:08 +01:00
parent 9223b38920
commit 3d9dc76ebf
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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;
+1 -1
View File
@@ -17,7 +17,7 @@
"Action": "mirrorDirR2L",
"ParamList": {
"RemoteDir": "ftpdata/syncfolder",
"LocalDir": "\\\\iis01\\W$\\Files\\ODL"
"LocalDir": "\\\\iis01\\W$\\Files"
}
}
]