download-to ( url file -- )
HTTP client > GET requests with the HTTP client

Prev:download ( url -- )
Next:?download-to ( url file -- )


Vocabulary
http.client

Inputs and outputs
urlan url or a string
filea pathname string


Word description
Downloads the contents of the URL to a file with the given pathname.

Errors
Throws an error if the HTTP request fails.

Definition