FreenetWiki : FCP2p0TestDDAReply

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2007-07-01 18:26:54 by ZothaR [Fix want names]

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


Deletions:
If you send a TestDDARequest with wantWrite=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 wantRead=true, then you will have to read 'ReadFilename' (to prove that you're allowed to read here).




Edited on 2007-04-14 20:42:24 by JeromeFlesch

Additions:
If you send a TestDDARequest with wantWrite=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 wantRead=true, then you will have to read 'ReadFilename' (to prove that you're allowed to read here).


Deletions:
If you send a TestDDARequest with wantRead=true, then you will have to write 'ContentToWrite' into the file 'WriteFilename'.
If you send a TestDDARequest with wantWrite=true, then you will have to read 'ReadFilename'.




Edited on 2007-04-14 19:36:36 by JeromeFlesch [add some details]

Additions:
Details
If you send a TestDDARequest with wantRead=true, then you will have to write 'ContentToWrite' into the file 'WriteFilename'.
If you send a TestDDARequest with wantWrite=true, then you will have to read 'ReadFilename'.




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

Additions:
You MUST send a TestDDAResponse message after getting it otherwise the node won't clean up the temporary files it has created.

Deletions:
You *SHOULD* send a TestDDAResponse message after getting it.



Oldest known version of this page was edited on 2007-04-13 21:17:17 by NextGens [TestDDAReply]
Page view:

TestDDAReply


This is a message of the Freenet Client Protocol 2.0 (FCP 2.0).
It is sent from a the Freenet to the FCP program.
It is initiated by a TestDDARequest message.

You *SHOULD* send a TestDDAResponse message after getting it.

Example

TestDDAReply
Directory=/tmp/
ReadFilename=/tmp/testr.tmp
WriteFilename=/tmp/testw.tmp
ContentToWrite=RANDOM
EndMessage
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0758 seconds