Registered Member
|
It's possible, via the remote interface for other clients, to load a torrent via the Username:Password URL. Ex:
http://Username:Password@tracker.com/to ... le.torrent For when a tracker is private. My work computers will not download any file identified as having the .torrent file extension, so I can't download to my machine at work, then upload to my box at home. I have been unable to load torrents using KTorrent via the URL box in the interface of the webinterface using Username:password, although direct links are easy, of course. Can we have this enabled/implemented in future versions? Thanks. |
Moderator
|
|
Registered Member
|
|
Registered Member
|
|
Moderator
|
OK, then we must check this out, I guess I can probably test this with a local apache server.
Btw, what do you get back when you do this in a shell : wget http://Username:Password@tracker.com/to ... le.torrent ktorrent torrentfile.torrent |
Registered Member
|
|
Moderator
|
Obviously with real URL's, otherwise it's not gonna work. |
Moderator
|
OK, I just setup a password protected apache server, and if I open http://user:password@127.0.0.1/torrrents/test.torrent with ktorrent it works without problems.
So I'm really interested in what results you get with wget. |
Registered Member
|
Here's what the Shell put out. After all this, I had a torrentfile.torrent in my default Home directory.
[steven@laptop ~]$ wget http://user:password@tracker.com/torrentfile.torrent ktorrent torrentfile.torrent --20:58:39-- http://user:*password*@tracker.com/torrentfile.torrent ktorrent torrentfile.torrent' Resolving tracker.com... 74.xx.xx.xx Connecting to tracker.com|74.xx.xx.xx|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 37,683 (37K) [application/x-bittorrent] 100%[====================================>] 37,683 --.--K/s 20:58:55 (549.68 KB/s) - `torrentfile.torrent ktorrent torrentfile.torrent' saved [37683/37683] [steven@laptop ~]$ Note: I did not receive a notice that KTorrent was already running. And KTorrent did NOT open the file. //EDIT It's occurring to me that that was 2 lines of code, not one? |
Moderator
|
Yeah 2 lines,
If it doesn't load in in ktorrent, then open it with a text editor. Chances are, it probably is a html error page. My guess is that the sites you are trying this on have a normal login thing, like most websites do. Which makes what you are trying to do impossible. |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]