downloadFile


SoftLayer_Network_Storage::downloadFile

Download a file from a Storage account.

Description

{{CloudLayerOnlyMethod}} Download a file from a Storage account. This method returns a file’s details including the file’s raw content.

Parameters

Name Type Description
fileId string The id or guid of the file you wish to download.

Required Headers

Optional Headers

  • None

Return Values

Error Handling

  • Throw the exception “Not yet implemented for this Storage type.” if the Storage type is not supported.

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage/{SoftLayer_Network_StorageID}/downloadFile'