liveBook · Manning

File upload

A file upload is the transfer of a file from a client or user device to a software system over a network for storage, processing, or analysis.

How 5 Manning books explain it

Go in Practice, Second Edition

A file upload is the transfer of a local file from a client to a server through a form or other network request.

How it is used
Handles browser forms that submit files and accompanying fields to a Go web server.
How deep it goes
Explains form configuration, single-file persistence, and incremental streaming, but stops short of production validation and storage policy.
Examples
Uses single-file HTML forms, Go handlers, mixed text-and-file submissions, and incremental multipart saving.
What you can do after
Apply it via Go's net/http and multipart APIs to save ordinary uploads or stream large files incrementally.

Read how Go in Practice, Second Edition explains file upload →

ASP.NET Core in Action, 3e

A file upload is the transfer of a file from an HTTP client to an application through a request.

How it is used
Handles user-submitted files in minimal API endpoints and Razor Pages through model binding.
How deep it goes
Explains binding interfaces, metadata access, buffering, storage choices, and security risks without detailing complete persistence implementation.
Examples
Uses IFormFile, IFormFileCollection, IEnumerable<IFormFile>, List<IFormFile>, and the IFormFile metadata interface.
What you can do after
Apply file binding through IFormFile or collection types and assess basic security and storage decisions.

Read how ASP.NET Core in Action, 3e explains file upload →

Grokking Web Application Security

A file upload is the transfer of a file from a client to a web server or other service.

How it is used
Frames file uploads as untrusted HTTP payloads that can directly target a web server.
How deep it goes
Explains filename, size, type, archive, and permission checks, while noting header validation only scratches the surface.
Examples
Uses image uploads, CSV and Excel imports, a PNG MIME check, zip bombs, and a PHP web shell.
What you can do after
Operate/configure file uploads with server-side validation, bounded archive handling, restricted filenames, and non-executable storage permissions.

Read how Grokking Web Application Security explains file upload →

The Design of Web APIs, Second Edition

A file upload is an operation that transfers a file from a consumer to a file-management service or system.

How it is used
Handles supporting documents and other files when ordinary JSON-oriented API flows do not fit.
How deep it goes
Works through upload prechecks and delegation choices, but does not specify a complete upload schema or security implementation.
Examples
Uses an account-application document upload: a 200 MB GIF may fail authorization, file-type, or 100 MB size checks.
What you can do after
Practice/perform it by announcing upload limits, considering prechecks for large files, and arranging malware checks and file-management delegation.

Read how The Design of Web APIs, Second Edition explains file upload →

AI Agents in Action

A file upload is an assistant capability for supplying documents or other files as knowledge to a configured language-model assistant.

How it is used
Adds a static document collection so an assistant can answer prompts grounded in uploaded knowledge.
How deep it goes
Explains assistant setup and document tasks through examples, but does not detail the underlying retrieval implementation.
Examples
Uses a collection of classic robot books to demonstrate searching, comparing, ordering, classifying, and generating content.
What you can do after
Apply it by configuring an assistant with uploaded documents and prompting it to search or analyze the collection.

Read how AI Agents in Action explains file upload →

Also covered in

What to know first

Related concepts

Questions about file upload

What is file upload?

A file upload is the transfer of a file from a client or user device to a software system over a network for storage, processing, or analysis.

Which Manning books explain file upload?

Go in Practice, Second Edition, ASP.NET Core in Action, 3e, Grokking Web Application Security, The Design of Web APIs, Second Edition and AI Agents in Action.

What should I know before learning file upload?

Manning books that teach file upload usually introduce web application, server, language model and malware first.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.