42

I'm transferring a very large (35GB) file through SFTP and FileZilla.

Now the transfer is 59.7% done, but I keep getting this error, and it hasn't changed that number for hours.

Error:     File transfer failed after transferring 1,048,576 bytes in 10 seconds
Status:    Starting upload of C:\Files\static.sql.gz
Status:    Retrieving directory listing...
Command:   ls
Status:    Listing directory /var/www/vhosts/site/httpdocs
Command:   reput "C:\Files\static.sql.gz" "static.sql.gz"
Status:    reput: restarting at file position 20450758656
Status:    local:C:\Files\static.sql.gz => remote:/var/www/vhosts/site/httpdocs/static.sql.gz
Error:     error while writing: failure

Why do I keep getting this error?

tshepang
  • 12,111
  • 21
  • 91
  • 136
n00b982
  • 433
  • 1
  • 4
  • 5

7 Answers7

77

Credit to cdhowie: The remote volume was out of space.

Community
  • 1
  • 1
Adam
  • 3,675
  • 8
  • 45
  • 77
16

I encountered the same situation. Go to your server, run "df" command to see if there is a problem of hard disk space.

lephix
  • 1,144
  • 13
  • 23
2

Recently faced this issue, Turned out to be the disk space issue. Removed some old logs, specially mysqld.log file which was in GBs. It worked after that.

1

filezilla, error while writing: failure issue occurred when server storage is full. Login in Linux server and Kindly run below two commands to find out which files are consuming max storage in /var/log recursively..

for MB Size:

sudo du -csh $(sudo find /var/log -type f) |grep M|sort -nr

For GB size:

sudo du -csh $(sudo find /var/log -type f) |grep G|sort -nr
linux.cnf
  • 519
  • 6
  • 7
1

In our case it was because the file exceeded the user's quota. We use Virtualmin and the virtual server had a default quota of just 1GB. Increasing that value in Virtualmin solved the problem.

Francisco R
  • 4,032
  • 1
  • 22
  • 37
0

This happened when I tried to replace the file which was already open or running in the background. Once closed, I was able to overwrite the file.