This wiki is now locked - both user registration and edits (except by admins) are disabled. We're currently migrating all the content to our new wiki. If you have time, please register and help us out!

You can still view the source code of every page. Once a page has been copied over to the new wiki, please add a link to it to MigratedPages (the only page which is still editable), to notify the admins to go and blank it.


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.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki