WinSCP error code 4 when uploading large file
Asked Answered
D

2

6

I'm trying to move a file from my local machine to another machine into which I've SFTP-ed.

The file has 160MB. The transfer stops after a quarter of the file is moved over, with the following message:

Copying files to remote side failed
General Failure(server should provide error description)
Error code: 4
Error message from server: Failure

Doris answered 24/1, 2017 at 17:9 Comment(1)
"server should provide error description"Fashion
K
1

This may be because space is full on your server. Try executing df -Th command to see. Free space on your server and try again it works.

Kirschner answered 14/8, 2020 at 10:43 Comment(0)
B
0

This would typically be due to a full file system on the server or exceeded user quota.

Actually a complete error message suggests that:

Common reasons for the Error code 4 are:

  • Renaming a file to a name of already existing file.
  • Creating a directory that already exists.
  • Moving a remote file to a different filesystem (HDD).
  • Uploading a file to a full filesystem (HDD).
  • Exceeding a user disk quota.

For details, see also WinSCP documentation on the SFTP code 4.

Beggar answered 1/2, 2017 at 15:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.