ExternalStoragePut

ExternalStoragePut[expr]

writes expr to an external storage specified by $ExternalStorageBase.

ExternalStoragePut[expr,path]

writes expr to a specific path in an external storage specified by $ExternalStorageBase.

ExternalStoragePut[expr,ExternalStorageObject[...]]

writes expr to the service and path represented by an ExternalStorageObject.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Save a computed value to the InterPlanetary File System (IPFS):

Retrieve the value:

Save a computed value to Dropbox:

Retrieve the value:

Scope  (2)

Default Path  (1)

Save an expression to Dropbox using the default target path:

Retrieve the value:

Path Specification  (1)

Save an expression to Dropbox. If the target directory does not exist, it will be created:

Retrieve the value:

Options  (3)

ExternalStorageBase  (2)

Dropbox  (1)

Save an expression to Dropbox specifying the target path:

Retrieve the value:

IPFS  (1)

Save an expression to the InterPlanetary File System (IPFS). IPFS does not require a target path because files in that system are identified by a content identifier (CID) that is automatically generated:

Retrieve the value:

OverwriteTarget  (1)

By default, ExternalStoragePut does not overwrite a file if an existing path is provided and the expression to be saved is the same as the one in the existing file.

Save a expression to Dropbox:

Save a different expression to the same path:

A new file will be created:

By setting the OverwriteTarget option to True, the target file will be replaced:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_externalstorageput, author="Wolfram Research", title="{ExternalStoragePut}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ExternalStoragePut.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_externalstorageput, organization={Wolfram Research}, title={ExternalStoragePut}, year={2020}, url={https://reference.wolfram.com/language/ref/ExternalStoragePut.html}, note=[Accessed: 21-November-2024 ]}