• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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