Most recent edit on 2007-04-13 21:27:23 by NextGens [formatting]
Additions:
If you enabled WantWriteAccess your FCP client should have created the file *before* you send this message.
Deletions:
If you enabled WantWriteAccess your FCP client should have created the file *before* you send this message.
Oldest known version of this page was edited on 2007-04-13 21:26:36 by NextGens [TestDDAResponse]
Page view:
TestDDAResponse
This is a message of the
Freenet Client Protocol 2.0 (FCP 2.0).
It is sent from a client program to the Freenet node.
It should be sent *AFTER* a
TestDDAReply message is received. The node will respond with a
TestDDAComplete message.
Example
TestDDAResponse
Directory=/tmp/
ReadContent=Content read from the "read" file
EndMessage
| Field |
Possible values |
Mandatory? |
Description |
| Directory |
Arbitrary string, on one line... It has to be the same as the one sent in TestDDARequest. |
Yes |
The directory files you want to access reside in. The node will send a protocol error error code if it doesn't know about it. |
| ReadContent |
UTF8 String |
Yes if WantRead has been specified |
The content of the file your client has read from the ReadFilename |
Implementation Notes
The FCP client *HAS TO* clean up the files it creates; The node will cleanup files it has created.
You can retry to enable DDA requests more than once for either the same or a different directory. Only last test result will be taken into account.
If you enabled
WantWriteAccess your FCP client should have created the file *before* you send this message.