URLDownload

URLDownload[url]

downloads the content of the specified URL to a local temporary file.

URLDownload[{url1,url2,}]

downloads the contents of the specified URLs to files in a local temporary directory.

URLDownload[url,file]

downloads to a specified file.

URLDownload[{url1,url2,},dir]

downloads to a specified directory.

URLDownload[{req1,req2,},]

downloads the results of the list of HTTP requests.

Details and Options

Examples

open allclose all

Basic Examples  (3)

This saves the content of the URL:

Download a file and check the status code returned from the server:

Gather information about a connection:

For more complex requests, use HTTPRequest:

Options  (4)

CookieFunction  (1)

Apply a function to each cookie received when an HTTP response is received:

FollowRedirects  (1)

Specify whether to follow HTTP redirects when retrieving a URL:

TimeConstraint  (1)

Specify the maximum allotted time in seconds to finish downloading data from the server:

VerifySecurityCertificates  (1)

Verify that the SSL certificate used by the server is valid:

Properties & Relations  (2)

File and CloudObject are fully supported:

Import the request by using Import or URLExecute:

Wolfram Research (2016), URLDownload, Wolfram Language function, https://reference.wolfram.com/language/ref/URLDownload.html.

Text

Wolfram Research (2016), URLDownload, Wolfram Language function, https://reference.wolfram.com/language/ref/URLDownload.html.

BibTeX

@misc{reference.wolfram_2020_urldownload, author="Wolfram Research", title="{URLDownload}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/URLDownload.html}", note=[Accessed: 22-January-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_urldownload, organization={Wolfram Research}, title={URLDownload}, year={2016}, url={https://reference.wolfram.com/language/ref/URLDownload.html}, note=[Accessed: 22-January-2021 ]}

CMS

Wolfram Language. 2016. "URLDownload." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/URLDownload.html.

APA

Wolfram Language. (2016). URLDownload. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/URLDownload.html