Re: Execute remote command for each file during synchronization
No, that's definitely not possible using WinSCP scripting. You would have to implement the synchronization on your own, for example using WinSCP .NET assembly from PowerShell script. In such script you can add any check you want.
You can base your solution on following example:
https://winscp.net/eng/docs/library_session_getfiles#powershell
You will also need directory listing:
https://winscp.net/eng/docs/library_session_listdirectory#example
General info:
https://winscp.net/eng/docs/library_powershell
You can base your solution on following example:
https://winscp.net/eng/docs/library_session_getfiles#powershell
You will also need directory listing:
https://winscp.net/eng/docs/library_session_listdirectory#example
General info:
https://winscp.net/eng/docs/library_powershell