You cannot change the file name with
You would have to use a plain
and handle the monitoring of local file changes on your own. But then it would be better to use WinSCP .NET assembly (and it's
) combined with some scripting language (e.g. a PowerShell).
Here is an example that does this, just with an opposite synchronization:
Though for local to remote direction, better than polling is to use local file system notifications.