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.


TestDDARequest


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.
This message must be sent before any operation involving DDA is requested. If you don't, the node will reply with a ProtocolError code 25.
The node will respond with a TestDDAReply message.

You can send more than one TestDDARequest message for different directories if necessary : the node handles them per socket, meaning that if you close/reopen the socket you have to re-do it.
Each TestDDARequest message will be obsoleted if a new one is received for the same directory.

Example

TestDDARequest
Directory=/tmp/
WantReadDirectory=true
WantWriteDirectory=true
EndMessage


Field Possible values Mandatory? Description
Directory Arbitrary string, on one line Yes The directory files you want to access reside in
WantReadDirectory boolean False Do you plan to do any PUT operation ? Be aware that the node won't allow you to do it unless it has **write** access to the given directory. See the note above
WantWriteDirectory boolean False Do you plan to do any GET operation ?


Use case
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki