SFTP: File Rename Problem
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
SFTP: File Rename Problem
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
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.
-
- Plugin Developer
- Posts: 35
- Joined: 14 Dec 2005, 13:04
Re: SFTP Rename Problem
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
For details about this unfortunate error message, please see here:
http://winscp.net/eng/docs/message_error_code_4
Martin Prikryl
https://winscp.net/
https://winscp.net/
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: SFTP Rename Problem
Other SFTP clients rename the file without a problem (on the same server).
Anyway, what the problem to delete, then rename huh?
Anyway, what the problem to delete, then rename huh?
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: SFTP Rename Problem
any feedback from developers?
-
- Plugin Developer
- Posts: 35
- Joined: 14 Dec 2005, 13:04
Re: SFTP Rename Problem
It can be improved. I'm adding it to a TODO list.XPiS wrote:Other SFTP clients rename the file without a problem (on the same server).
Anyway, what the problem to delete, then rename huh?
Martin Prikryl
https://winscp.net/
https://winscp.net/
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: SFTP: File Rename Problem
Thank you Martin, great.
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: SFTP: File Rename Problem
1.6.5 - not fixed
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: SFTP: File Rename Problem
any news?
-
- Plugin Developer
- Posts: 35
- Joined: 14 Dec 2005, 13:04
Re: SFTP: File Rename Problem
Sorry, no progress yet. To be honest, this is really not a very demanded feature.
Martin Prikryl
https://winscp.net/
https://winscp.net/
- crystalidea
- Posts: 205
- Joined: 09 Dec 2005, 15:13
- Contact:
Re: SFTP: File Rename Problem
It's not like 1k lines of code I believe. I have a problem of using this for years.