Hello,
please see answer here:
Do not forget to enable url
capability in confd.conf
and add 3 times slash /
in the url, e./g.
<url>
<enabled>true</enabled>
<file>
<rootDir>/tmp</rootDir>
</file>
</url>
<?xml version="1.0" encoding="UTF-8"?>
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<capabilities>
<capability>urn:ietf:params:netconf:base:1.0</capability>
</capabilities>
</hello>
]]>]]>
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<copy-config>
<target>
<url>file:///config.xml</url>
</target>
<source>
<running/>
</source>
</copy-config>
</rpc>
]]>]]>
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2">
<close-session/>
</rpc>
]]>]]>