Re: Upload Files and give them a different Name on FTP - via command line on windows
If you are using WinSCP scripting, then you can specify the target file name in second argument of the
https://winscp.net/eng/docs/scriptcommand_put
put
command:
put "C:\local\path\aaaaa.txt" "/remote/path/bbbbb.txt"
https://winscp.net/eng/docs/scriptcommand_put