Page 1 of 1

SFTP: File Rename Problem

Posted: 20 Oct 2010, 20:47
by crystalidea
When I have 2 files on SFTP:
program.exe
program.exe_

and try renaming the second one to 'program.exe' i get the question:
File 'program.exe' already exists. Overwrite?
The answer is YES, get the error:

General failure (server should provide error description).
Error code: 4
Error message from server: Failure
Request code: 18

Re: SFTP Rename Problem

Posted: 27 Oct 2010, 08:39
by Martin Prikryl
Your server most likely does not support renaming file to a name of already existing file.
For details about this unfortunate error message, please see here:
http://winscp.net/eng/docs/message_error_code_4

Re: SFTP Rename Problem

Posted: 27 Oct 2010, 15:45
by crystalidea
Other SFTP clients rename the file without a problem (on the same server).
Anyway, what the problem to delete, then rename huh?

Re: SFTP Rename Problem

Posted: 04 Nov 2010, 21:23
by crystalidea
any feedback from developers?

Re: SFTP Rename Problem

Posted: 11 Nov 2010, 21:03
by Martin Prikryl
XPiS wrote:Other SFTP clients rename the file without a problem (on the same server).
Anyway, what the problem to delete, then rename huh?
It can be improved. I'm adding it to a TODO list.

Re: SFTP: File Rename Problem

Posted: 15 Nov 2010, 18:05
by crystalidea
Thank you Martin, great.

Re: SFTP: File Rename Problem

Posted: 08 May 2012, 13:11
by crystalidea
1.6.5 - not fixed

Re: SFTP: File Rename Problem

Posted: 18 Sep 2012, 13:06
by crystalidea
any news?

Re: SFTP: File Rename Problem

Posted: 17 Nov 2012, 22:39
by Martin Prikryl
Sorry, no progress yet. To be honest, this is really not a very demanded feature.

Re: SFTP: File Rename Problem

Posted: 22 Nov 2012, 19:38
by crystalidea
It's not like 1k lines of code I believe. I have a problem of using this for years.