The "download" action (NS4)

Use the "download" action to download the specified file from an ObjectStore (NS4) storage group.

GET /[CP Code]/[path]/[file.ext] HTTP/1.1 
Host: [Domain Prefix]-nsu.akamaihd.net
X-Akamai-ACS-Action: version=1&action=download 
[Signature Header 1]
[Signature Header 2]

Required variables

Variable values are as follows:

  • [CP code]: The unique CP code that represents the root directory in the applicable NetStorage Storage Group.
  • [path]: If applicable, any additional sub-directories, ending with the target directory.
  • [file.ext]: The file to be downloaded (including its extension, if applicable).
Note: If the specified object does not exist, an HTTP 404 “Not Found” error is returned.
  • [Domain Prefix]: This is the unique domain prefix set up for the storage group during its creation. It can be viewed in the NetStorage Groups UI in Control Center.
  • [Signature Header 1] and [Signature Header 2]: Applicable signature headers.