# An SFTP upload ends with a partial file

UrbeStack sysadmin note about OpenSSH. Last updated 30 Nov 2026.

An SFTP upload stops with `Failure` and leaves a partial file. The customer has reached their disk quota, and freeing space or raising the limit lets OpenSSH complete the upload.

## Symptoms

The SFTP client prints the following error.

```output
write remote "/files/big8.bin": Failure
```

The file on the server is shorter than the original. The `sshd` service logs the following error.

```output
error: process_write: write "/files/big8.bin": Disk quota exceeded [postauth]
```

## Cause

The customer reached their package's disk limit, and the kernel refused to write the rest of the file. The limit counts everything in the customer's home folder, including sites, mail, and files.

## Resolution

Check how much disk space the customer uses against their limit.

```
urbestack-disk-usage --name USER
```

Delete the partial file, free space elsewhere, or raise the package's limit. The following command raises the limit to 20 GB for every customer on the package.

```
urbestack-package-set --name PACKAGE --disk-mb 20480
```

Upload the file again.

If the problem persists after you follow this note, you can [open a support ticket](https://support.urbestack.com/new?type=support). Including the output of the commands you ran helps support diagnose the problem.
