Re: [Scripting] - How to Overwrite duplicate file in remote folder
You are renaming the file to itself: "Error moving file '/in/build/ting.tmp' to '/in/build/ting.tmp'." – Why?
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
< 2020-09-19 11:52:36.988 Status code: 4, Message: 2322, Server: Failure, Language:
. 2020-09-19 11:52:36.990 Asking user:
. 2020-09-19 11:52:36.990 Error moving file '/in/build/ting.tmp' to '/in/build/ting.tmp'. ("General failure (server should provide error description).
. 2020-09-19 11:52:36.990 Error code: 4
. 2020-09-19 11:52:36.990 Error message from server: Failure
open sftp://%4%:%5%@%2%:%3%/
option confirm off
put %1%*.csv %6%*
mv %6%* %6%*.tmp
mv %6%*.tmp %7%*.csv
exit