# File Uploads with Limits

A form with a file arrives as multipart/form-data, which multer reads in Express, saving the file under a name the server makes and refusing a file that's too big (413) or of the wrong type (400) before it fills the disk.

![Cheat sheet: File Uploads with Limits](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/637e5c7ca4ef4cffb8557f4e4ce1595e.webp)

- Category: Node.js
- Level: Freelancer
- Tags: 413 Content Too Large, multer, Multipart form data, nodejs, Path Traversal, web-development
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/node-uploads-with-multer-cheat-sheet
