Opened 2 years ago
Last modified 2 years ago
#12375 new Bug report
Unable to 'mv' with overwrite
|Reported by:||m.avogadro||Owned by:|
|Keywords:||mv rename overwrite||Cc:|
|Component version:||184.108.40.206||Operating system type:||Windows|
|Operating system version:|
it seems that v220.127.116.11 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.
Change History (1)
comment:1 by , 2 years ago
|Component version:||→ 18.104.22.168|