Re: Fcp woes II

Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]>
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
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

_______________________________________________
Tech mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD4DBQBH1Zg/A9rUluQ9pFARAt2TAJ9IGcp0YOm5a3O7vJUjXY7THETYPQCWLrM7
GHuwld8Gy8O9i6ePyuKSqw==
=Wug0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.