• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Forwarded to devs XML Subdomain Add (with FTP)

jimlongo56

Basic Pleskian
TITLE:
XML Subdomain Add (with FTP)
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx Version 17.8.11 on ‪CentOS Linux 7.6.1810
PROBLEM DESCRIPTION:
Using the add operation as documented here
Creating Subdomain

Creates the subdomain with the proper document root, but Does not create an FTP account.​
STEPS TO REPRODUCE:
Sending the following request using Postman:

Code:
<packet>
   <subdomain>
       <add>
           <parent>xyzonline.website</parent>
           <name>topline1</name>
           <property>
               <name>www_root</name>
               <value>httpdocs/topline1</value>
           </property>
           <property>
               <name>ftp_login</name>
               <value>topline1</value>
           </property>
           <property>
               <name>ftp_password</name>
               <value>123abc456ABC!@#</value>
           </property>
       </add>
   </subdomain>
</packet>


RESULT:
Code:
<packet version="1.6.9.1">
   <subdomain>
       <add>
           <result>
               <status>ok</status>
               <id>162</id>
           </result>
       </add>
   </subdomain>
</packet>
ACTUAL RESULT:
Subdomain "topline1.xzyonline.website" is created with document root in
"httpdocs/topline". There is no FTP account added.
EXPECTED RESULT:
Along with the subdomain, an FTP account with login "topline1" should have been created.​
ANY ADDITIONAL INFORMATION:
I was asked by support to send a request to technical support, and by IgorG to send a report here, so there may be similar tickets in different places. Sorry for that.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Help with sorting out
 
Thank you!
Documentation bug was created: PTD-1832
 
Back
Top