Re: Error Code 4
You cannot compare mv command in shell and mv command in SFTP. MV command in SFTP does not allow renaming to existing name by specification.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.