On Sunday 09 March 2008 15:25, juergen urner wrote: > There is no distinction between ClientPutDiskDir and ClientPutComplexDir > in PersistentPut*. This makes it hard to tell both apart. I need this to > do automatic > type conversions.
We can make a distinction if we need to, however there really isn't much difference, ClientPutDiskDir is just a simple way to access the same functionality, any ClientPutDiskDir can be expressed as a ClientPutComplexDir if need be. > > Just thinking aloud ..I wish ClientPut* (PersistentPut*) would go. > Afaics a new message > would make live much easier on both sides. Any thoughts? > > Put > Identifer=any > NItems=N > Persistence=whatever > (...) > EndMessage > > ...emidiately followed by N items to put > > DataItem > DataLength=N > Name=any > (...) > EndMessage > FileItem > Filename=filename > Name=any > (...) > EndMessage > (...) Why is this better? > > Btw, on input Fcp does not seem to care if Files.N.* in ClientPutComplexDir > start at 0. This broke persistents. You mean it expects it to start at 0? Or what? > > Juergen -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20080310/a3b5e350/attachment.pgp>