Skip to content

Commit

Permalink
Adds some clarification to download (#28989)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssfrr authored and StefanKarpinski committed Sep 10, 2018
1 parent 999bcc5 commit 3c8119f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion base/download.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,13 @@ end
"""
download(url::AbstractString, [localfile::AbstractString])
Download a file from the given url, optionally renaming it to the given local file name.
Download a file from the given url, optionally renaming it to the given local file name. If
no filename is given this will download into a randomly-named file in your temp directory.
Note that this function relies on the availability of external tools such as `curl`, `wget`
or `fetch` to download the file and is provided for convenience. For production use or
situations in which more options are needed, please use a package that provides the desired
functionality instead.
Returns the filename of the downloaded file.
"""
download(url, filename)

0 comments on commit 3c8119f

Please sign in to comment.