Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function downloadFile
import { downloadFile } from "https://deno.land/std@0.125.0/_util/download_file.ts";

Download the file at the given url to the given path.

Parameters

url: string
fileUrl: URL