It is implemented in accordance with the document the following specifications: https://control.akamai.com/dl/customers/NS/NetStrgHttpCM.pdf April 8, 2013
$ pear pv
$ pear package
$ pear info Akamai-{version}.tgz
$ pear list Akamai-{version}.tgz
$ pear install -f Akamai-{version}.tgz
require 'Akamai.php';
$service = new Akamai_Netstorage_Service({host});
$service->authorize({key}, {key_name}, {version});
/* mkdir */
$service->mkdir('[dir_name]');
/* upload */
$service->upload('[dir_name]/[file_name]', '[string]');
/* symlink */
$service->symlink('[dir_name]/[symlinkfile_name]', '[dir_name]/[file_name]');
/* du */
$service->du('[dir_name]');
/* dir */
$service->dir('[dir_name]');
/* mtime */
$service->mtime('[dir_name]', strtotime('2013-01-01 00:00:00'));
/* rename */
$service->rename('[dir_name]/[file_name]', '[dir_name]/[renamefile_name]');
/* upload */
$service->upload('[dir_name]/[file_name]', '[string]');
/* stat */
$service->stat('[dir_name]/[file_name]');
/* delete */
$service->delete('[dir_name]/[file_name]');
/* rmdir */
$service->rmdir('[dir_name]');
/* quick-delete */
$service->quick_delete('[dir_name]');
/* get latest status */
$service->getLastStatusCode();
Please Edit the configure file and describe the account information.
$ mv tests/akamai.ini.sample tests/akamai.ini
$ vi tests/akamai.ini
$ pear run-tests tests/