I have file named with A.txt, Using batch command to copy the file to SFTP Server. After copying the A.txt, to copy the A.txt again to SFTP on same path.There is no possible same name with two files on same path, I want to rename the second copied file like A2.txt.
How to use the 'New name' command in WinSCP command line?
I copying the multiple files with file extension (*.txt), only I want to rename the file which already exist with same name in SFTP Server.