uploads file to an external storage specified by $ExternalStorageBase.


uploads file to a specific path for external storage services that support it.


uploads file to the service and path represented by an ExternalStorageObject.

Details and Options


open allclose all

Basic Examples  (3)

Upload a file to the InterPlanetary File System (IPFS):

Upload a file to Dropbox:

Upload a file using an ExternalStorageObject as the target:

Scope  (3)

Default Path  (1)

Upload a file to Dropbox using the default target path:

The file is uploaded to a default path created by the Wolfram Language:

Path Specification  (2)

Upload a file to Dropbox specifying the target path:

Upload a file to Dropbox. If the target directory doesn't exist, it will be created:

Options  (3)

ExternalStorageBase  (2)

Dropbox  (1)

Upload a file to Dropbox:

IPFS  (1)

Upload a file to the InterPlanetary File System (IPFS). IPFS doesn't require a target path because files in that system are identified by a content identifier (CID) automatically provided:

OverwriteTarget  (1)

By default, ExternalStorageUpload does not overwrite a file if a different file is uploaded to an existing path. Upload a new file:

Upload a new file to the same path:

A new file will be created:

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

Properties & Relations  (2)

The ExternalStorageBase option can use a ServiceObject as a value, from an already created connection:

CopyFile also supports an ExternalStorageObject as a file specification to upload a local file to an external storage service:

Possible Issues  (1)

IPFS manages the content identifier (CID):

With IPFS, you cannot upload to a specific ExternalStorageObject:

Introduced in 2020