Papanikles / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

[Win] Add torrent files to ruTorrent from explorer #425

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Это  удобняшка.  Надоело мне добавлять 
файлы через веб интерфейс, особенно 
с непонятными названиями торент файлов, 
когда их переваливает за 5 штук. 
Намного удобнее что бы они добавлялись как 
и на обычном клиенте(обычным 
кликом на торент файле). Для этого написал 
простую програмку на С# которая 
делает тоже самое что POST запрос.

описание аттачей: 

1) 1.reg Пример как зарегать прогу (асоциация 
расширения) + привязать этот 
класс надо на .torrent расширение
2) rtorrent.rar - архив проэкта вместе с ехе 
файлами (VS.NET 2010 Express)
3) rtorrent.exe  - готовый бинарник

Original issue reported on code.google.com by hapy.les...@gmail.com on 3 Jun 2010 at 2:25

Attachments:

GoogleCodeExporter commented 8 years ago
забыл добавить  параметры - rtorrent.exe [ruTracker root 
uri]  [path to torrent file]

Ex: rtorrent.exe "http://127.0.0.1/tr/" "d:\1.torrent"

Original comment by hapy.les...@gmail.com on 3 Jun 2010 at 3:14

GoogleCodeExporter commented 8 years ago

Original comment by novik65 on 3 Jun 2010 at 3:46

GoogleCodeExporter commented 8 years ago
На мой взгляд, полезность сей "удобняшки" 
несколько сомнительна. Для локального
варианта watch директория rTorrent, как правило, 
расшарена по самбе. Соответственно,
чтобы добавить торрент никаких программ не 
надо - достаточно copy.
При доступе же из внешней сети в 100% случаев 
имеет место быть веб-авторизация.
Которая Вашей программой не 
обрабатывается и не передается.

Original comment by novik65 on 4 Jun 2010 at 2:08

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
По поводу локальных вариантов, обрисую 
ситуацию. Использование связки 
rTorrent+ruTracker на 1й машине я даже не 
рассматриваю. Обычная ситуация - когда у 
людей есть некий роутер(железяка или же 
машина под домашний сервер, в обязаности 
которой входит хранить файлы, раздавать 
инет на все приборы которые это 
потдерживают).   И естественно вся это 
связка крутитса на сервере, что есть гуд.  
Однако, лазим мы по сайтам с рабочего 
компъютера, качаем торрент файлы в первую 
попавшеюся папку(зачем мне мусор сохранять 
куда-то на сетевое хранилище?) и 
соответственно в данном случае требуетса 
передать торрент файл с моей машины на 
сервер. watch функция может мониторить папки 
на сервере, да хорошо....но доступа к ФС 
рабочей системы у него то нет. Да и в случае 
удаленного использования(через интернет) 
как Вы представляете себе протокол SMB?  
организовывать ради этого VPN? или закачать 
торрент файл через фтп? получаетса 
накладно..

"Которая Вашей программой не 
обрабатывается и не передается."
Во-первых программа писалась(как и все 
програмы вообще) для своих нужд и свою 
конфигурацию сети. Выложеные исходники 
обычно означают: "модифицируйте и 
развивайте 
мысль".

Нащет авторизации:  она бывает разная. Ну к 
примеру обычная http auth, ну или же Web 
Form. Пока что, у РуТоррента  нет никаких 
стандартов на эту тему(а соотв и АПИ), 
поэтому включать это в программу кажетса 
немного безсмысленным.

Как и все программы, эта тоже будет 
развиватса со временем, и обрастать 
функционалом 
по мере необходимости(включая WebAuth, https support).

Original comment by hapy.les...@gmail.com on 4 Jun 2010 at 3:02

GoogleCodeExporter commented 8 years ago
>но доступа к ФС рабочей системы у него то 
нет.

Есть. Роутер и рабочая машина находятся в 
локальной сети. 

>Да и в случае удаленного 
использования(через интернет) как Вы 
представляете себе
протокол SMB?

Никак не представляю. Ваша программа этот 
момент тоже не решает.

Если хотите еще чему нибудь меня поучить, 
делайте это на форуме, пожалуйста. Здесь -
не форум.

Original comment by novik65 on 4 Jun 2010 at 3:04

GoogleCodeExporter commented 8 years ago
any chance of a guide on how to use this in English please as i can't get it to 
work

Original comment by paulpba...@gmail.com on 20 Jul 2010 at 4:14

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
@paulpbaker
------------
 try this one, previous version was conpiled for .NET Framework 4.0.  This one was compiled for .NET 3.5.  Also i attach cmd file, which can help u to register this program for extension ".torrent".   Short guide:

1) Check if u have .NET Framework 3.5 (no checks is needed if u have Win7, Win7 
support up to version .NET 4)
2) copy rtorrent.exe to folder, where u want to store this program ;)
3) modify cmd file: 
   set PROGRAMPATH="d:\rtorrent.exe"           <======  path to program, change this
   set HTTPPATH="http://gate.home/tr/"         <====== url, which u use to open ruTracker in web Browser (with slash at end)
4) run cmd file, re-login and open torrent file(first time file will be 
unassigned, but Windows show rTorrent in list of available programs, select 
rtorrent and done.)

On my test environment all tests passed ok.

NOTE: 
Ex: rtorrent.exe <param1> <param2>
<param1> - path to ruTracker url, like http://127.0.0.1/ruTracker/
<param2> - path to torrent filename(incl. full file path), like 
c:\downloads\test.torrent

Original comment by hapy.les...@gmail.com on 20 Jul 2010 at 9:49

Attachments:

GoogleCodeExporter commented 8 years ago
wow it really works haha thank you VERRRRRY much!!!

Original comment by paulpba...@gmail.com on 20 Jul 2010 at 3:04

GoogleCodeExporter commented 8 years ago
also is there a way to hide the command window when i open a .torrent file?

Original comment by paulpba...@gmail.com on 20 Jul 2010 at 3:04

GoogleCodeExporter commented 8 years ago
no, this is not possible, but this window closed after 5 sec automatic.

Original comment by hapy.les...@gmail.com on 20 Jul 2010 at 3:15

GoogleCodeExporter commented 8 years ago
how about to minimize it?

Original comment by paulpba...@gmail.com on 20 Jul 2010 at 3:26

GoogleCodeExporter commented 8 years ago
i think here is a problem when lot of torrent files was opened at same time?

hm, in this case here is sense to write some GUI with silent working support. I 
will think about this.

Original comment by hapy.les...@gmail.com on 20 Jul 2010 at 3:32

GoogleCodeExporter commented 8 years ago
any chance of it deleting the torrent after it's send it to rtorrent?

Original comment by paulpba...@gmail.com on 2 Sep 2010 at 12:40

GoogleCodeExporter commented 8 years ago
yes, today i will implement this and silent mode too. Only if any error 
happening user will see message about this.

Original comment by hapy.les...@gmail.com on 2 Sep 2010 at 12:06

GoogleCodeExporter commented 8 years ago
excellent thank you please post here when it's done :)

Original comment by paulpba...@gmail.com on 2 Sep 2010 at 2:47

GoogleCodeExporter commented 8 years ago
Next version released. 

What new:
 + Now application work completely silently.
 + If torrent uploading progress completed ok, torrent file will be removed.
 - Any information about status of uploading progress removed.

rtorrent.exe = .NET Framework 3.5 Client Profile
rtorrent_frm4.exe = .NET Framework 4.x+

Original comment by hapy.les...@gmail.com on 2 Sep 2010 at 7:39

Attachments:

GoogleCodeExporter commented 8 years ago
Re-uploaded

Original comment by hapy.les...@gmail.com on 2 Sep 2010 at 7:50

Attachments:

GoogleCodeExporter commented 8 years ago
nice ty :)

Original comment by paulpba...@gmail.com on 2 Sep 2010 at 8:24

GoogleCodeExporter commented 8 years ago
@hapy.lestat
Can you upload the source of your latest version?

I made some changes to your first version to support Basic Authentication since 
I use that on my rutorrent.

Original comment by flydiverny on 4 Jan 2011 at 11:09

GoogleCodeExporter commented 8 years ago
@flydiverny 
yes, i will. Anyway this feature support was planed before but no time to 
realize.

@note:
In the future, this mini-project will be moved to SF.

Original comment by hapy.les...@gmail.com on 12 Jan 2011 at 3:48

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Doesn't seem to work for me :( - No errors or anything.

If the ruTorrent is password protected (via webserver), but i am logged in 
already, will this affect it?

Original comment by Bhav...@gmail.com on 14 Jan 2011 at 12:11

GoogleCodeExporter commented 8 years ago
@Bhavicp:
Please wait for new build of application on this week. Basic authorization will 
be available there.

Original comment by hapy.les...@gmail.com on 14 Jan 2011 at 7:50

GoogleCodeExporter commented 8 years ago
topic is updated. Short description of update:
+ log function available
+ Support of http basic auth
+ lot of code was changed
+ program can understand named command line params

Example of command line:
 rtorrent.exe -url http://localhost/tr/ -file torrentfile [-http-username username] [-http-password password]

params in [] are optional.

Original comment by hapy.les...@gmail.com on 14 Jan 2011 at 3:18

GoogleCodeExporter commented 8 years ago
oh, i miss, binary can be downloaded from link: 
http://moonter.users.sourceforge.net/down/rutracker/rtorrent.exe

Sorry :) 

Original comment by hapy.les...@gmail.com on 14 Jan 2011 at 3:19

GoogleCodeExporter commented 8 years ago
Awesome! Just one final thing hapy.lestat, would you be able to provide the 
updated .cmd file with the new http parms? As i'm not very good with it and 
tried but failed!

Original comment by Bhav...@gmail.com on 14 Jan 2011 at 8:48

GoogleCodeExporter commented 8 years ago
try this one, to install updated params 

Original comment by hapy.les...@gmail.com on 15 Jan 2011 at 11:03

Attachments:

GoogleCodeExporter commented 8 years ago
Хорошая идея, странно, что её встретили 
категорично.

У меня немного другая ситуация и решил её 
по-другому. Домашний сервер находится за 
NAT'ом провайдера и снаружи до него не 
достучаться.

Поэтому я настроил почтовый клиент, 
который периодически проверяет внешний 
почтовый ящик на наличие в нём 
торрент-файлов.

Чтобы запустить торрент на скачку, его 
просто нужно отправить по e-mail. :)

Пример реализации: http://sites.google.com/site/pfzim0/htpc-xbmc

Original comment by pf.ziminski on 14 Jul 2011 at 9:49

GoogleCodeExporter commented 8 years ago
Hi again. rTorrent tool is slightly updated. Functionality is same as previous, 
but source code is completely re-worked to make tool more stable and flexible.

Key features: 

 - Pass files to ruTorrent from explorer just using one mouse click. No browse file dialogs.
 - Possibility to log all actions
 - remove torrent file after passing him to ruTorrent
 - possibility to use HTTP Basic Authorization tokens, if url path is password protected.

Download links: 

Binary - http://rutorrentex.sourceforge.net/download/rtorrent.exe
Readme - http://rutorrentex.sourceforge.net/download/readme.txt
Register as *.torrent file handler -  
http://rutorrentex.sourceforge.net/download/reg_rutorrent.cmd

!!Please read carefully "System Requirements" section in readme.txt file.

Have nice day ;)

H.L.

Original comment by hapy.les...@gmail.com on 28 Feb 2012 at 3:55

GoogleCodeExporter commented 8 years ago
please - add option to ignore invalid SSL certs for HTTPS urls

Original comment by rotw...@gmail.com on 19 Mar 2012 at 1:38

GoogleCodeExporter commented 8 years ago
@Invalid SSL:
Added to "planed" list.

@new release:
Just release version 0.0.0.21 with magnet links support (like used on the 
thepiratebay.se)

All information available at 
http://sourceforge.net/projects/rutorrentex/files/0.0.0.21/

Original comment by hapy.les...@gmail.com on 27 Mar 2012 at 12:06

GoogleCodeExporter commented 8 years ago
UPD.

Sources moving to https://github.com/hapylestat/rtorrent_agent
Currently project are in frozen state :(

Original comment by hapy.les...@gmail.com on 26 Dec 2013 at 10:30