Skip to content
DC* edited this page Aug 29, 2020 · 3 revisions

TestDDAReply is a message from the node initiated by a TestDDARequest message from the client.

You MUST send a TestDDAResponse message after getting it otherwise the node won't clean up the temporary files it has created.

Example

 TestDDAReply
 Directory=/tmp/
 ReadFilename=/tmp/testr.tmp
 WriteFilename=/tmp/testw.tmp
 ContentToWrite=RANDOM
 EndMessage

Details

If you send a TestDDARequest with WantWriteDirectory=true, then you will have to write ContentToWrite into the file WriteFilename (to prove that you're allowed to write here).

If you send a TestDDARequest with WantReadDirectory=true, then you will have to read ReadFilename (to prove that you're allowed to read here).

Clone this wiki locally