I am using the following commandline in a batch file:
"c:\Program Files\winscp\winscp.com" /command "option batch abort" "option confirm off" "open ftp://password:email@example.com" "rm ""/Temp/File_to_delete.plp""" "exit"
It works fine. However I want to delete the same file from another server at the same time. So I duplicate the line and simply change the server credentials. The second line fails with a "file not found" error. I can reverse the order of the two command lines, it is always the second one that fails.