[Libtorrent-devel] Need to create files, not in lazy way

Jari Sundell sundell.software at gmail.com
Mon Jun 29 14:43:02 UTC 2009

On Mon, Jun 29, 2009 at 5:43 PM, a phantom<bestattung at gmail.com> wrote:
> Argh... I *need* to have files be created with their full size,
> _before_ starting, actually! What can I do this time? In 0.8.4 I was
> doing dummy start and close (with all trackers set off), but it's no
> longer working...

An option for pre-allocating files was added for when a file gets
resized, if that's the reason you need it.

> I'm curious that why Ctrl-E (queue resize) is left visible to users. I
> think it's just a internal flag now, and there're no room to manually
> tweak it; in practice we can't use it to trigger create and/or resize
> at all, and anyway we need to do rehash (partially or fully) to treat
> unexpected changes of files. And we can't complete the torrent without
> doing any required create and/or resize, no matter someone explicitly
> said to do that or not. If Ctrl-E is only useful to overrule some
> cases of marked-complete-but-seems-broken error, I think it must be
> renamed.

Because ^E resets the flags, which are used when the underlying files
are gone and need to be re-created.

Jari Sundell

More information about the Libtorrent-devel mailing list