I would have:
- rewrite a file if exists
- copy file if does not exist
option confirm, not
option config. Though those two
option commands are not really needed in recent versions of WinSCP, as they are defaults for script.
rm, as the
put overwrites the existing file.
You can post new topics in this forum