Unable to 'mv' with overwrite
|Reported by:||m.avogadro||Owned by:|
|Keywords:||mv rename overwrite||Cc:|
|Component version:||188.8.131.52||Operating system type:||Windows|
|Operating system version:|
it seems that v184.108.40.206 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.