Trigger a File Download in Express

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

Downloading and saving a file is a common scenario when building out your web application. Using Express, you can either trigger a download from an existing file or set the headers on the response to send a file you created through Node. This lesson walks you through both approaches.