ExternalStorageDownload
ExternalStorageDownload[location]
downloads content from the specified location.
ExternalStorageDownload[location,dest]
downloads content from the specified location to a local destination file or directory dest.
ExternalStorageDownload[locationdest]
downloads content from the specified locations to a local destination file or directory dest.
ExternalStorageDownload[{location1,location2,…},dest]
downloads content from the specified locations to local destination dest.
ExternalStorageDownload[{location1,location2,…}dest]
downloads content from the specified locations to local destination dest.
ExternalStorageDownload[{location1dest1,location2dest2,…}]
downloads content from the specified locations to local destinations.
Details and Options
- The default external storage is given by $ExternalStorageBase.
- Possible forms for location include:
-
"CID" IPFS content identifier (CID) "path" path in the external storage service (e.g. Dropbox) "bucket/key" bucket name and key in the external storage service (e.g. Amazon S3) "bucket/prefix/" bucket name and prefix in the external storage service (e.g. Amazon S3) "uri" external storage service URI (e.g. Amazon S3 URI) ExternalStorageObject[…] external storage object - Possible forms for dest include:
-
"file" local file path "directory" local directory {"file1","file2",…} list of local file paths
Examples
open allclose allBasic Examples (4)
Download a file from the InterPlanetary File System (IPFS):
Import the downloaded content:
Import the downloaded content:
Download a file from an Amazon S3 bucket:
Import the downloaded content:
Download multiple files from an Amazon S3 bucket by providing an ExternalStorageObject:
Scope (11)
Single File (7)
Download a file from the InterPlanetary File System (IPFS) by providing its content identifier (CID):
Download a file from the InterPlanetary File System (IPFS) by providing an ExternalStorageObject:
Download a file from Dropbox by providing its location path:
Download a file from the InterPlanetary File System (IPFS) to a specific local path:
Download a file from an Amazon S3 bucket:
Download a file from an Amazon S3 bucket by providing an ExternalStorageObject:
Download a file from an Amazon S3 bucket to a specific local destination:
Multiple Files (4)
Download multiple files from an Amazon S3 bucket:
Download multiple files from an Amazon S3 bucket by providing an ExternalStorageObject:
Download multiple files from an Amazon S3 bucket to a specific local directory:
Download multiple files from an Amazon S3 bucket to specific local destinations:
The first argument can also be a list of locations:
Using the syntax locationdest produces the same result:
A list of rules {location1dest1,location2dest2,…} is also equivalent:
Options (4)
Properties & Relations (1)
CopyFile also supports an ExternalStorageObject as a file specification to download it to a local path:
Text
Wolfram Research (2020), ExternalStorageDownload, Wolfram Language function, https://reference.wolfram.com/language/ref/ExternalStorageDownload.html (updated 2021).
CMS
Wolfram Language. 2020. "ExternalStorageDownload." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/ExternalStorageDownload.html.
APA
Wolfram Language. (2020). ExternalStorageDownload. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ExternalStorageDownload.html