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 all

Basic Examples  (4)

Download a file from the InterPlanetary File System (IPFS):

Import the downloaded content:

Download a file from Dropbox:

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:

Import the downloaded files:

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:

Upload a file to Dropbox:

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:

Using the syntax locationdest produces the same result:

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)

ExternalStorageBase  (4)

Amazon S3  (2)

Download a file from an Amazon S3 bucket:

Download multiple files from an Amazon S3 bucket:

Dropbox  (1)

Upload a file to Dropbox:

Download a file from Dropbox:

IPFS  (1)

Download a file from the InterPlanetary File System (IPFS):

Properties & Relations  (1)

CopyFile also supports an ExternalStorageObject as a file specification to download it to a local path:

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

Text

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

BibTeX

@misc{reference.wolfram_2021_externalstoragedownload, author="Wolfram Research", title="{ExternalStorageDownload}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ExternalStorageDownload.html}", note=[Accessed: 18-October-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_externalstoragedownload, organization={Wolfram Research}, title={ExternalStorageDownload}, year={2020}, url={https://reference.wolfram.com/language/ref/ExternalStorageDownload.html}, note=[Accessed: 18-October-2021 ]}

CMS

Wolfram Language. 2020. "ExternalStorageDownload." Wolfram Language & System Documentation Center. Wolfram Research. 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