On Fri, Jun 19, 2009 at 3:50 AM, bo-le<bo-le at web.de> wrote: > Am Freitag, 19. Juni 2009 03:08:13 schrieb Evan Daniel: >> I'm trying to test out SSK inserts with FCP, and running into problems. >> >> First, the Disconnect command does not work: >> >> Disconnect >> EndMessage > > Where did you get this info? I have never seen this. > > Just close the socket. The node will detect it ;)
>From http://wiki.freenetproject.org/FCP2p0Disconnect Is there more accurate / up to date FCP documentation somewhere? I'd been testing with telnet, and I'd rather type Disconnect than fuss with escape sequences, but it's not exactly a huge problem. > > >> ProtocolError >> ExtraDescription=Unknown message name Disconnect >> Fatal=false >> CodeDescription=Don't know what to do with message >> Code=7 >> EndMessage >> >> >> Second, DDA isn't working: >> >> TestDDARequest >> Directory=/data/freenet/ >> WantReadDirectory=true >> WantWriteDirectory=false >> EndMessage >> >> TestDDAReply >> ReadFilename=/data/freenet/DDACheck-2801570529831049194.tmp >> Directory=/data/freenet >> EndMessage >> >> TestDDAResponse >> Directory=/data/freenet/ >> ReadContent=[stuff read from file indicated above] >> EndMessage >> >> TestDDAComplete >> ReadDirectoryAllowed=false >> Directory=/data/freenet >> EndMessage >> >> >> Third, if I didn't want to use DDA to insert my data, how would I do >> that? ?The documentation on ClientPut doesn't say how to actually send >> data in the direct mode. > > > sample command: > > ClientPut > Persistence=connection > Verbosity=-1 ? ? ? ? ? ? ? ? //be my wife ?err be max verbose. > UploadFrom=direct > PriorityClass=1 > DataLength=42 > Identifier=jHyperocha1245397350876 > TargetFilename= ? ? ? ? ? ?// missing this field means auto, a empty name > means off > Global=false > URI=SSK at blah,blub,AQECAAE/singlechunktest > Data > <42 bytes of data> Thanks, that works! Evan Daniel
