If your user account has the Read permission level on a collection, you can download a data file in that collection to your local system.
Run the following command:
dm_download_dataobject_presigned [optional parameters] <source-path> <destination-file>
The following table describes each parameter:
Parameter | Description |
---|---|
[-h] | If you want to print a usage (help) message for this command, specify this option. |
[-D <REST-response>] | An optional parameter, specifying a path and filename in your local system. The system always creates a response file:
|
<source-path> | A path within DME. Specify the data file that you want to download. |
<destination-file> | A path in your local system. Specify where you want the system to create the downloaded file. The destination folder structure you specify must already exist. |
The following example downloads a sample.txt file from the Project_Orig collection in DME to a JaneDoe folder.
dm_download_dataobject_presigned /Example_Archive/PI_Lab1/Project_Orig/sample.txt /NCI/JaneDoe