The request packet downloading backup MyBackup.bak from a local repository looks as follows:
<packet version="1.6.0.0">
<backup-manager>
<download-file>
<filename>MyBackup.bak</filename>
</download-file>
</backup-manager>
</packet>
A positive response from the server can look as follows:
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=MyBackup.bak
Pragma: no-cache
<backup data>
If the file does not exist on the server, the response is as follows:
<packet version="1.6.0.0">
<backup-manager>
<download-file>
<result>
<status>error</status>
<errcode>1013</errcode>
<errtext>The file MyBackup.bak does not exist</errtext>
</result>
</download-file>
</backup-manager>