SFTP: File Rename Problem

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
User avatar
crystalidea
Posts: 205
Joined: 09 Dec 2005, 15:13
Contact:

SFTP: File Rename Problem

Post 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
Last edited by crystalidea on 04 Nov 2010, 21:24, edited 1 time in total.
Martin Prikryl
Plugin Developer
Plugin Developer
Posts: 35
Joined: 14 Dec 2005, 13:04

Re: SFTP Rename Problem

Post 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
Martin Prikryl
https://winscp.net/
User avatar
crystalidea
Posts: 205
Joined: 09 Dec 2005, 15:13
Contact:

Re: SFTP Rename Problem

Post by crystalidea »

Other SFTP clients rename the file without a problem (on the same server).
Anyway, what the problem to delete, then rename huh?
User avatar
crystalidea
Posts: 205
Joined: 09 Dec 2005, 15:13
Contact:

Re: SFTP Rename Problem

Post by crystalidea »

any feedback from developers?
Martin Prikryl
Plugin Developer
Plugin Developer
Posts: 35
Joined: 14 Dec 2005, 13:04

Re: SFTP Rename Problem

Post 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.
Martin Prikryl
https://winscp.net/
User avatar
crystalidea
Posts: 205
Joined: 09 Dec 2005, 15:13
Contact:

Re: SFTP: File Rename Problem

Post by crystalidea »

Thank you Martin, great.
User avatar
crystalidea
Posts: 205
Joined: 09 Dec 2005, 15:13
Contact:

Re: SFTP: File Rename Problem

Post by crystalidea »

1.6.5 - not fixed
User avatar
crystalidea
Posts: 205
Joined: 09 Dec 2005, 15:13
Contact:

Re: SFTP: File Rename Problem

Post by crystalidea »

any news?
Martin Prikryl
Plugin Developer
Plugin Developer
Posts: 35
Joined: 14 Dec 2005, 13:04

Re: SFTP: File Rename Problem

Post by Martin Prikryl »

Sorry, no progress yet. To be honest, this is really not a very demanded feature.
Martin Prikryl
https://winscp.net/
User avatar
crystalidea
Posts: 205
Joined: 09 Dec 2005, 15:13
Contact:

Re: SFTP: File Rename Problem

Post by crystalidea »

It's not like 1k lines of code I believe. I have a problem of using this for years.
Post Reply