i try to use winscp scrip to remove a and rename a file on the remote site. but i got a problem by using MV , one the .bak file exist on the folder. is it away to replace the existing file in winscp scrip?
mv *.txt /outgoing/completed/*.bak
Error moving file 'test_20131101.txt' to '/outgoing/completed/test_20131101.bak'.