Copy Files From To cPanel Accounts Using API?

manish12345

Member
Mar 2, 2017
7
0
51
Indore
cPanel Access Level
Website Owner
My requirement is to setup sites for clients, they provide there domain name and i create its account on my server via WHM API-1 which is describes here
WHM API 1 Functions - createacct - Software Development Kit - cPanel Documentation

I have a my clients site data in a zipped file (example site.zip) which is located in my main site public_html folder, for example: home/mainsite/public_html.

i want to copy the zipped file (site.zip) in my clients home/myclient/public_html directory using API.

I want to do this automatically using API.
So is there any API for that?
I tried the solution provided in this link below
How to Copy file between account with xml-api, api2?

but it does not work.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463