• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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