File Uploading And Downloading

How to upload and then download files in meteor application directory

2 Likes

Expound! You can use meteor methods to submit data, and server-side routers to write files to responses. You can adjust the HTTP headers to make the file download or get spit out into the screen. You can look into the standardized browser Blob API that uses <input type="file">. You can also use services like FilePicker if you are lazy. FilePicker is pretty expensive, and provides a lot of functionality. It might be overkill.