ClientPutDiskDir
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 inserts an entire on-disk directory (including subdirectories) under a single key (technically, as a manifest file), so that each of the inserted files is located using the same key like this:
CHK@NOSdw7FF88S....4BgOPxSPqv~bNg7YsgM,AAEC--8/file1.txt
CHK@NOSdw7FF88S....4BgOPxSPqv~bNg7YsgM,AAEC--8/file2.jpg
CHK@NOSdw7FF88S....4BgOPxSPqv~bNg7YsgM,AAEC--8/subdir/file3.html
CHK@NOSdw7FF88S....4BgOPxSPqv~bNg7YsgM,AAEC--8/subdir/file4.ogg
CHK@NOSdw7FF88S....4BgOPxSPqv~bNg7YsgM,AAEC--8/foo/bar/file5.pdf
Most of the fields below have the same usage as in ClientPut.
TODO - Indicate which of the 'keyword=value' lines below are mandatory, and if not, what their defaults are
ClientPutDiskDir Identifier=My Identifier Verbosity=1023 MaxRetries=999 PriorityClass=2 URI=CHK@ GetCHKOnly=true DontCompress=true ClientToken=My Client Token Persistence=forever Global=true DefaultName=index.html Filename=/path/to/directory AllowUnreadableFiles=false // unless true, any unreadable files cause the whole request to fail; optional EndMessage