represents a file stored in an external location.
represents a file stored in an external service specified by the components of the association assoc.
represents a file stored in an external location with additional elements given by assoc.
- An ExternalStorageObject is returned by ExternalStorageUpload and ExternalStoragePut. It is a valid input for ExternalStorageDownload, ExternalStorageGet and CopyFile.
- Possible values for location include regular file paths and IPFS content identifiers (CID).
- In ExternalStorageObject[assoc], the association assoc contains the following:
"ExternalStorageBase" external storage service
- The following additional entries can also be added to the association assoc:
"CID" InterPlanetary File System (IPFS) content identifier "FileHash" hash of the file "Path" path to the file in the external service "Service" external storage service
- ExternalStorageObject creates a reference to a file. The file does not need to exist yet.
Examplesopen allclose all
Basic Examples (3)
Create an ExternalStorageObject by providing an InterPlanetary File System (IPFS) content identifier as location:
Create an ExternalStorageObject by providing a path to the file and the service represented by the "ExternalStorageBase" value inside the association:
Properties & Relations (4)
Get the content identifier of an ExternalStorageObject representing a file stored in IPFS:
Get the file hash of an ExternalStorageObject representing a file stored in IPFS:
Get the path of an ExternalStorageObject representing a file stored in Dropbox:
Get the external storage service associated to an ExternalStorageObject:
Wolfram Research (2020), ExternalStorageObject, Wolfram Language function, https://reference.wolfram.com/language/ref/ExternalStorageObject.html.
Wolfram Language. 2020. "ExternalStorageObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ExternalStorageObject.html.
Wolfram Language. (2020). ExternalStorageObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ExternalStorageObject.html