FreenetWiki : FCP2p0TestDDARequest

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2007-04-14 20:35:34 by JeromeFlesch

Additions:
WantReadDirectory=true
WantWriteDirectory=true
<td>WantReadDirectory</td>
<td>WantWriteDirectory</td>


Deletions:
WantRead=true
WantWrite=true
<td>WantRead</td>
<td>WantWrite</td>




Edited on 2007-04-14 11:16:02 by NextGens [specify that we want one message per directory]

Additions:
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.

Deletions:
You can send more than one TestDDARequest message : the node handles them per socket, meaning that if you close/reopen the socket you have to re-do it.



Edited on 2007-04-14 11:14:28 by NextGens [Take bback's remarks into account]

Additions:
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 : 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.
<td>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</td>


Deletions:
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.
<td>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</td>




Edited on 2007-04-14 11:09:34 by NextGens [Take bback's remarks into account]

Additions:
<td>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</td>
<td>Do you plan to do any GET operation ?</td>
See http://archives.freenetproject.org/message/20070412.171626.07d3668d.en.html and http://archives.freenetproject.org/message/20070414.083225.647d5e15.en.html for implementation details.

Deletions:
<td>Do you plan to do any read operation ? Be aware that the node won't allow you to do it unless it has *write* access to the given directory. See the node above</td>
<td>Do you plan to do any write operation ?</td>
See http://archives.freenetproject.org/message/20070412.171626.07d3668d.en.html for implementation details.




Edited on 2007-04-13 21:34:05 by NextGens [formatting]

Additions:
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.

Deletions:
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.



Edited on 2007-04-13 21:31:32 by NextGens [Specify the error code the node will send]

Additions:
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.

Deletions:
This message must be sent before any operation involving DDA is requested. The node will respond with a TestDDAReply message.



Edited on 2007-04-13 21:13:47 by NextGens [doh]

Additions:
This message must be sent before any operation involving DDA is requested. The node will respond with a TestDDAReply message.

Deletions:
This message must be sent before any operation involving DDA is requested. The node will respond with a TestDDARequest message.



Edited on 2007-04-13 21:13:10 by NextGens [Remove a useless link]

Additions:

TestDDARequest



Deletions:

TestDDARequest





Oldest known version of this page was edited on 2007-04-13 21:12:39 by NextGens [TestDDARequest creation]
Page view:

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. The node will respond with a TestDDARequest message.

Example

TestDDARequest
Directory=/tmp/
WantRead=true
WantWrite=true
EndMessage


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


Use case
See http://archives.freenetproject.org/message/20070412.171626.07d3668d.en.html for implementation details.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.1010 seconds