Topic "General failure, error code 4 moving files"

Author Message
bobt_12345

Guest


I have a problem that is frustrating me to no end.

Whenever I try to drag and drop a file to a directory where a file with the same name exists, instead of prompting me to overwrite the file, it dies with the above error message (General failure, error code 4). I have to hold down the ctrl key and drag to copy the file, and then delete it later. This is very time consuming and error prone, because it's too easy to delete the wrong file after copying. It also adds an extra step, which slows me down a lot.

Why can't I get WinSCP to prompt me to overwrite existing files on drag-and-drop move?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Where are you dragging from and where to?
_________________
Martin Prikryl
gagu

Guest


prikryl wrote:
Where are you dragging from and where to?


i am facing similar issue....when i login into my linux server with winscp....i am not able to drag & drop files from my source to destination directoy....sorce & destination is on same server......but while i will login via SSH and use mv <souce> <destination> command ...its working perfectly.

is it winscp bug ? nothing in server...i tried on multiple servers...same error code 4


Thanks,
Gagu
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
gagu wrote:
i am facing similar issue....when i login into my linux server with winscp....i am not able to drag & drop files from my source to destination directoy....sorce & destination is on same server......but while i will login via SSH and use mv <souce> <destination> command ...its working perfectly.

is it winscp bug ? nothing in server...i tried on multiple servers...same error code 4

Please read documentation:
http://winscp.net/eng/docs/message_error_code_4
_________________
Martin Prikryl
Guest




That documentation is totally useless. It provides no information about 1) Why I get the error message and 2) what do to about it.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Anonymous wrote:
That documentation is totally useless. It provides no information about 1) Why I get the error message and 2) what do to about it.

The documentation actually list many reasons why you can get the message.
_________________
Martin Prikryl
Guest




I get code 6 and this is what the documentation said not especially helpful. It provides a tiny bit more info but no useful info for troubleshooting...plus it's poorly written
error.PNG (7.72 KB)

Description: (none)

error.PNG

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Anonymous wrote:
I get code 6 and this is what the documentation said not especially helpful. It provides a tiny bit more info but no useful info for troubleshooting...plus it's poorly written

As mentioned on documentation page you refer to, WinSCP does not use SFTP code 6. So you are not getting it. Please share your complete error message, so that we can help you. Also please start a new thread as this is unrelated to this thread.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License