On Monday 30 January 2006 13:51, Matthew Toseland wrote:

> If disk:
> Filename=<absolute filename>
> = the filename to which to write the data (with full path)
> TempFilename=<relative filename>
> = the filename to which to write the data before it has been completed.
>   Will be renamed to Filename when completely downloaded. Before that, can
>   be used as temporary space, up to the size of the file to be fetched.

Why not forget Filename and just use TempFilename with a base path set in the
config and some enforcement to prevent .. and the like for working.  Then its 
not
quite as dangerous.

> Persistence:
> - connection // tied to a connection
> - reboot // tied to a client name, disappears on reboot
> - forever // tied to a client name, persists across reboots
> 
> DropTime:
> - -1/0/default // keep forever until satisfied or run out of retries
> - 1138646820000 // keep until Mon Jan 30 18:47:00 GMT 2006

Just use DropTime.   If none is used then it drops at when the 
connection does.  If we are going to support persistence why do I
care if the node is booted several time or if a connection drop....
IMO simplier is easier to understand and work with.

Ed Tomlinson

Reply via email to