Clatter LabsHelp Center

Why must I know the exact file size before starting an upload?

TroubleshootingUpdated

size tells Code Buckets how many chunks to expect (chunk_count) and reserves that much space in the bucket. If the size is wrong:

  • the last chunk won't be the expected length (400 bad_chunk_size), or
  • completion reports missing chunks.

Read the size from the file system (wc -c, os.path.getsize), and abort and restart the upload if you started with the wrong value.

Learn more#

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.