• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Request is invalid response yet request seems ok

Matthew James

Basic Pleskian
Hi,

I am trying to update the ftp password for a domain using the following request:

<packet version="1.6.0.0">
<domain>
<set>
<filter>
<domain-name>domain.com</domain-name>
</filter>
<values>
<hosting>
<vrt_hst>
<property>
<name>ftp_password</name>
<value>qwerty</value>
</property>
</vrt_hst>
</hosting>
</values>
</set>
</domain>
</packet>

Yet I am getting a response that the request is invalid, however I cannot see why?

I have been looking through the documentation for a couple of hours now but this does not shed any light on the problem - can anyone here help me?

Thanks
 
Thanks for that, it did help me get to a solution in the end.

The actual correct way to do it for 1.6.0.0> for anyone interested is:

<packet version="1.6.0.0">
<domain>
<set>
<filter>
<domain-name>domain.com</domain-name>
</filter>
<values>
<hosting>
<vrt_hst>
<property>
<name>ftp_login</name>
<value>login</value>
</property>
<property>
<name>ftp_password</name>
<value>pass</value>
</property>
<ip_address>ip</ip_address>
</vrt_hst>
</hosting>
</values>
</set>
</domain>
</packet>
 
Back
Top