Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload files using the Api #11

Open
lukavia opened this issue Jun 24, 2016 · 2 comments
Open

Upload files using the Api #11

lukavia opened this issue Jun 24, 2016 · 2 comments

Comments

@lukavia
Copy link

lukavia commented Jun 24, 2016

Hi,
I've been trying this for the last 2 days put can not figure it out.
As a reseller I want to create new cpanel account and upload my app in it.
I create the account, create database in it, create dbuser etc.

But how can I use the api to upload the files of the app?

@cheiff
Copy link

cheiff commented Jun 24, 2016

Once you create the account, you can upload your app/files using ssh or ftp.

On 24 June 2016 16:48:59 CEST, Anton Avramov [email protected] wrote:

Hi,
I've been trying this for the last 2 days put can not figure it out.
As a reseller I want to create new cpanel account and upload my app in
it.
I create the account, create database in it, create dbuser etc.

But how can I use the api to upload the files of the app?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#11

@lukavia
Copy link
Author

lukavia commented Jun 25, 2016

This would mean I have to save the password, which I don't want to do fir security reasons.
I would like to use UAPI Fileman files_upload or API2 Fileman filesupload called via general api (xml_query)

It seams that I call the function successfully, But it always returns: "You must specify at least one file to upload."
It looks like that calling cpanel function via UAPI works for all but for the files variables.
May it doesn't make POST as it should in this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants