Skip to content

FCPv2 TestDDAReply

Chris Double edited this page Mar 28, 2017 · 2 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
You can’t perform that action at this time.