Saturday, 1 August 2020

How to download then resend a file all within a single route function? (Express.js)

I'm currently working on a project in which a web scraper downloads from a site, stores the downloaded file, and then resends it (via email) to a secondary service.How can I download and resend this file, all scoped within a function? I don't want to actually download the file to storage as it would be to costly at scale and the file will only be needed once.

Submitted August 02, 2020 at 12:54AM by Zarathustra420

No comments:

Post a Comment