Node download file from url
This adds to server load and download time, since Backdrop must resolve the path for each file download request, but allows for access restrictions. How do I download a file with Node.js without using third-party libraries? I don't need anything special. I only want to download a file from a given URL, and then save it to a given directory.