This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Feature Reinstatement Request

Tags: None
(comma "," separated)
afarenci
Registered Member
Posts
4
Karma
0

Feature Reinstatement Request

Tue Apr 19, 2011 8:43 pm
Forgive me if I'm violating forum etiquette (obviously I wouldn't post this if I thought I actually was). I reported a bug (270527) over in KDE Bug Tracking System and was summarily turned down on grounds of intended behavior. I want to throw it out here for discussion.

Version: unspecified (using KDE 4.5.1)
OS: Linux

Upgraded from 4.0.3 to 4.1.0 and can no longer upload the same (completed) file in multiple torrents. Torrents sharing upload files started under 4.0.3 continue to run under 4.1.0. I just can't start any new torrents sharing files with 4.1.0

I want to make clear, I don't want to download the same file from multiple torrents, but do want to upload it to multiple trackers. The error message below explicitly says writing to the same file is not allowed, but I only want to read from the same files.

Reproducible: Always

Steps to Reproduce:
Start an upload job.

Start second upload of same file to a different tracker.

Actual Results:
Error message: "Opening the torrent torrent-name, would share one or more files with the following torrents. Torrents are not allowed to write to the same
files. Please select a different location."

------- Comment From Joris Guisson 2011-04-10 11:01:51 (-) [reply] -------
This is the intended behavior


BTW, realized that I didn't put kTorrent 4.1 in topic's title. Is there a way to edit the topic so I can add the version number?
Jonno
Registered Member
Posts
2
Karma
0
OS

Re: Feature Reinstatement Request

Wed May 04, 2011 12:20 am
The multi-torrent protection feature is generally useful, as it previously was all to easy to screw up.
That said, in some circumstances it can be useful to put the same file in multiple torrent. Thankfully it is quite easy to "work around" this safety feature.

This procedure works for me, but I make no guarantees. If you scre up and it breaks you get to keep the pieces :wink:.

1. Create a separate folder for your second torrent. You can call it anything you want, in this example it is named "folder2":
$ mkdir folder2

2. Go to the new folder:
$ cd folder2

3. Create a symlink to your torrent data:
$ ln -s ../torrentdata

4. When opening the second torrent in ktorrent, choose "folder2" as "Download to" location

If you want to you can even remove "folder2" once you are done and keep seeding both versions, if you first run the following command when ktorrent is not running:
find /path/to/folder2 -type l -exec sh -c 'echo "s|{}|$(readlink -fn "{}")|"' \; | sed -f - -i ~/.kde/share/apps/ktorrent/tor*/file_map

(on some distributions, you need to replace the standard "~/.kde/" with "~/.kde4/")


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]