Re: Moving files from one remote folder to another while allowing overwriting
There's no simple way to solve this with WinSCP scripting.
You can replace your WinsCP script with e.g. PowerShell script with use of WinSCP .NET assembly.
https://winscp.net/eng/docs/library_from_script
https://winscp.net/eng/docs/library_powershell
With it, you can iterate the files and process then one-by-one doing any checks you need.
You can replace your WinsCP script with e.g. PowerShell script with use of WinSCP .NET assembly.
https://winscp.net/eng/docs/library_from_script
https://winscp.net/eng/docs/library_powershell
With it, you can iterate the files and process then one-by-one doing any checks you need.