Help "get" command overwrites existing downloaded files
Hello, I am close to success setting up my use case but have run into a final hurdle. I have set up a batch file to run a script for WinSCP to download a file from my server. This is working, but WinSCP behavior appears to default to overwriting an existing file by that name vs doing something like
For reference
Batch:
WinSCP passed Script:
file
, file (1)
, file(2)
, etc. I would these files to stack up on my personal drive to serve as a log from my server instead of being overwritten. Is there an alternative parameter for the get
command that I am missing?
For reference
Batch:
"X:\Programs\WinSCP (SSH)\WinSCP.exe" /log="X:\XXX\XXX\XXX\example.log" /script="X:\XXX\XXX\XXX\script.txt"