https://cp.ahcdn.com/api2/file/manual?method=add
(use API credentials to see manual)
This example uses 'curl' utility but you can use any that you like .
curl -sS -u api_login:api_password -d location='http://domain.com/secretlink/1/2/345.mp4' -d name='1/2/543.mp4' -d size=1234567 http://cp.ahcdn.com/api2/file/add
http://login:password@domain.com/secretlink/1/2/345.mp4
cdn.domain.com/1/2/543.mp4
The file name in CDN does not have to match file name in download URL(location)