export const downloadFile = async ({ from, to, onProgress, agent, signal, createDirectories = false } = {}) => {
Downloads a remote file into a destination path.
Target style API. Preferred for new code.
Network
Source: network/downloadFile.mjs
Target Style
Legacy Style
No legacy exports in this module.