Problem with using "Two-way synchronization with delete"
I've already spent days trying to solve the problem. I'm using this article
Two-way synchronization with delete with SFTP/FTP server
Everything works fine, but the problem occurs when deleting a file (either on the server or on the client) and then re-synchronizing it, I use this script in PowerShell:
In PowerShell, I get the following errors:
Please tell me how to solve this problem?
Two-way synchronization with delete with SFTP/FTP server
Everything works fine, but the problem occurs when deleting a file (either on the server or on the client) and then re-synchronizing it, I use this script in PowerShell:
powershell.exe -ExecutionPolicy Bypass -File "C:\Program Files (x86)\WinSCP\SynchronizeTwoWayDelete.ps1" -sessionUrl "ftp://pavel:4@weqweX@9.9.1.6:442/" -localPath "D:\BASE" -remotePath "BASE" -listPath "D:\TwoWayDelete\pavel@9.9.1.6.txt"
Connecting... Comparing files... Synchronizing 1 change(s)... D:\BASE\* <== BASE/file.txt ... Error: Exception calling "Resolve" with "1" argument(s): "Can't get attributes of file 'BASE/file1.txt'. Could not retrieve file information Can't check for file existence"