Unable to 'mv' with overwrite
|Reported by:||m.avogadro||Owned by:|
|Keywords:||mv rename overwrite||Cc:|
|Component version:||18.104.22.168||Operating system type:||Windows|
|Operating system version:|
it seems that v22.214.171.124 is unable to move (rename) a file when a file with same name exists in the destination directory. This is the error:
Error: mv /source/directory/TESTFILE /destination/directory/TESTFILE: received failure with description 'Failure'
TESTFILE is an empty text file; /destination/directory already contained a file named TESTFILE.
Trying the same operation with sftp CLI (rename /source/directory/TESTFILE /destination/directory/TESTFILE) the operation succeeds.
Optimal would be asking whether overwrite or not, which neither the sftp command does; 'Failure' looks like a bug to me.