[Libtorrent-devel] libtorrent for kde, strange sigc++ header problems
Jari Petter Sundell
jaris at student.matnat.uio.no
Thu Feb 24 17:14:59 UTC 2005
On Thu, 24 Feb 2005, Felix Berger wrote:
> Is there a way to specify the final filename in the root dir, or is this
> provided by the torrent protocol and should not be influenced by clients?
LibTorrent sees all torrents as multi-file torrents, so to change the
final filename for a single-file torrent you need to change the root dir
and the file name of that file.
If you check out libtorrent/docs/torrent.xml from the subversion
repository, you'll find a list of the relevant functions needed to change
the file path.
> As far as documentation is concerned: a step through example that shows all
> the torren::init calls and sets up a download and doxygen comments in the
> header files would be great.
More information about the Libtorrent-devel