• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

API RPC Add FTP User broken

mattdwen

New Pleskian
I'm writting an app against the API RPC, and am trying to create a new FTP user.
The documention says to write the packet like:

<packet version="1.6.3.0">
<ftp-user>
<add>
<name>ftpuser1</name>
<password>jdnHHbe6Gc</password>
<home/>
<webspace-id>48</webspace-id>
</add>
</ftp-user>
</packet>

However, that returns an error:
Request is invalid. Error in line 7: Element 'webspace-id': This element is not expected. Expected is one of ( home, quota, permissions, site-id, site-name ).

If I try changing webspace-id to site-id or site-name, I now receive the error:

This feature is not supported for protocol version 1.6.3.0.

There are a number of different examples in the documentation, and all throw the same errors.

The server is running 11.0.9 Update #12.
 
It seems there is really mistake.

Try to use

<home>/</home>

instead of

<home/>
 
That's a copy and paste from the documented sample code.
I've tried a number of different options for home, including your suggestion.

I've since stumbled across some other forum posts regarding v10, which indicate that the ftpuser API calls aren't supported on *nix servers?
 
*bump*

still no new informations on operater ftp-user with *nix systems?
still not available?


regards
michael
 
Back
Top