On Fri, Feb 09, 2007 at 01:09:16PM +0100, [EMAIL PROTECTED] wrote: > > > > It's a good idea. I've filed a bug for it. If you want to implement it > > yourself then assign it to yourself, otherwise I will get around to > > it... eventually... > > > > https://bugs.freenetproject.org/view.php?id=1086 > > We need another message to tell the node to delete the previously > written temp file in case the client is not on the same box, and > therefore the write test failed for the client. E.g. node and client > are on linux, client tells node to write to /tmp, and client can't > find the file in /tmp. > > So the request must be stateful, the node must remember what file was > written and must delete it after the client delete request. In the > case the client misses to send a delete, the node must delete the file > during JVM shutdown (File.deleteOnExit). > > Did I miss something?
No, looks good. Should probably be deleted on lost connection, not just on exiting the JVM. Make sure the node cannot overwrite existing files when you set the file creation options.
signature.asc
Description: Digital signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
