Bug 384452

Summary: KTorrent does not recognize directories when creating .torrent file
Product: [Applications] ktorrent Reporter: hotmusicfan
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED FIXED    
Severity: major CC: andrius, rikmills
Priority: NOR    
Version: 5.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: https://phabricator.kde.org/D11728
Latest Commit: Version Fixed In:

Description hotmusicfan 2017-09-07 00:11:54 UTC
Hello!
I've tried to create a .torrent with KTorrent but it seems impossible.
1. UI says "File or directory to create torrent from" but actually it allows adding only directories (folders)
2. Actually the only recognized folder is user's /home; When I reach to my prepared folder (for example /home/<username>/Desktop/<folder_name> it can "see" only /home/<username>/.
Comment 1 Rik Mills 2018-01-01 11:16:03 UTC
Also seemly the same or similar issue reported at:

https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1740737
Comment 2 Andrius Štikonas 2019-02-17 20:04:52 UTC
Git commit dab5abcd2172155c511e0666d867c37382829226 by Andrius Štikonas, on behalf of Jiva Totin.
Committed on 17/02/2019 at 20:00.
Pushed by stikonas into branch 'master'.

Allow creating torrent for a single file.

Added 2 new radio buttons. One for choosing directory and the other one for
choosing files.
Differential Revision: https://phabricator.kde.org/D11728

M  +17   -1    ktorrent/dialogs/torrentcreatordlg.cpp
M  +3    -0    ktorrent/dialogs/torrentcreatordlg.h
M  +38   -18   ktorrent/dialogs/torrentcreatordlg.ui

https://commits.kde.org/ktorrent/dab5abcd2172155c511e0666d867c37382829226