-
Notifications
You must be signed in to change notification settings - Fork 2
FCPv2 TestDDAReply
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.
TestDDAReply Directory=/tmp/ ReadFilename=/tmp/testr.tmp WriteFilename=/tmp/testw.tmp ContentToWrite=RANDOM EndMessage
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).