LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   About rtorrent (http://www.linuxquestions.org/questions/linux-software-2/about-rtorrent-447737/)

satimis 05-23-2006 10:46 AM

About rtorrent
 
Hi folks,

FC5_64
rtorrent.x86_64 0.4.5-1.fc5

I was running "rtorrent" to download KNOPPIX_V5.0DVD-2006-02-25-EN.iso. Power interrupted and the ISO image was not completely download. I'm trying to figure how to continue/resume download.

IIRC, last time on user desktop, I ran;

$ /usr/bin/rtorrent KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent

The ISO image was automatically saved on /home/user/


Whether copy KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent from user desktop to /home/user/ (same user)

$ cp KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent /home/user/

and then

$ cd /home/user

re-run

$ /usr/bin/rtorrent KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent

to continue download.

Please shed me some light. TIA

B.R.
satimis

slackhack 05-23-2006 11:10 AM

your question gets confusing to me at "Whether copy KNOPPIX," etc. in general, i believe you can usually just restart a torrent with the same command you used originally, whereupon the torrent will "resync" and then start downloading again at the point where it left off. unless you moved it, and maybe that's what you're talking about with all the /home/user and user desktop information? :confused:

i guess it's also remotely possible that the power failure corrupted the file, and if you're already having problems with the download, to be safe you might consider deleting what you've downloaded so far, getting a new .torrent file, and starting over from scratch. it might seem annoying to have to do that, esp. if you're on dialup, but if the file is corrupted it could actually end up saving you time in the long run.

gloomy 05-23-2006 04:48 PM

Rtorrent is great. There should be an 'interactive' command line menus for adding multiple torrents, stopping ones, resuming others, increasing upload throttles, adjusting minimal number of peers, etc. See 'man rtorrent'. I'm running rtorrent-0.4.3 and there is a .rtorrent.rc -file where one can configure all needed options.

satimis 05-23-2006 07:59 PM

Hi slackhack and folks,

Tks for your advice.

That was the first time for me using utorrent. Power interrupt was caused by mistakenly turning off the power switch of the PC on the panel in order to turn of the power supply of a printer.

I looked around "man rtorrent" figuring out the steps posted on my first posting. But having not much confidence so I started seeking folks' advice.

Quote:

your question gets confusing to me at "Whether copy KNOPPIX," etc. in general, i believe you can usually just restart a torrent with the same command you used originally..
IIRC the steps performed previously to download "KNOPPIX_V5.0DVD-2006-02-25-EN.iso" are as follows;

1)
download "KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent" on user desktop (/home/user/desktop)

2)
started Konsole as user (same user)

3)
ran;
$ /usr/bin/rtorrent /home/user/desktop/KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent

The ISO image was automatically saved on /home/user/KNOPPIX_V5.0DVD-2006-02-25-EN.iso

Now it is still there of about 3G in size, incomplete. The total size of the ISO image is about 3.9G


After looking around on "man rtorrent" I'm prepared to resume downloading with following steps;

1)
Start Konsole as user
$ cp /home/user/desktop/KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent /home/user/

Now both "KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent" and the incomplete ISO image' are there (/home/user/)


2)
re-run
$ /usr/bin/rtorrent KNOPPIX_V5.0DVD-2006-02-25-EN.iso.torrent


Would the above steps appropriate? TIA.


I don't mind to re-start from scratch. However I expect to learn something new to me.


B.R.
satimis

slackhack 05-23-2006 08:52 PM

i don't have rtorrent, so i can't say for sure, but you should be safe just running the torrent again, as you described. if it takes any special option to resume, it should be listed in --help or the man page. maybe you could also backup what you do have saved just as a precaution, so you don't lose it while experimenting.

gloomy 05-23-2006 11:52 PM

If we are talking about the same rtorrent, I would proceed to a fresh download of the ISO as it does not take that long anyhow. Instructions are laid down in the manual pages or in:

http://libtorrent.rakshasa.no/

I have .rtorrent.rc under /home/user. I have made also a directory /home/user/rtorrent which is is the session directory and /home/user/torrent where the complete torrents are saved. Whenever I want to download a torrent, I simply hit 'rtorrent' under /home/user/torrent, where I also always save the .torrent -files, and add new torrents by hitting first backspace, then tab, after which typing the torrent I want to download. Rtorrent handles all resumes. Thus, no need to specify the actual location of the file when the rtorrent is called. Whatsoever, .rtorrent.rc needs to be configured correctly. The above link gives an example file.

Slackhack, I strongly urge you to try Rtorrent and experience the speed and efficiency of libraries written in C++.

slackhack 05-24-2006 03:58 PM

Quote:

Originally Posted by gloomy
Slackhack, I strongly urge you to try Rtorrent and experience the speed and efficiency of libraries written in C++.

thanks, i use bittornado on a separate server through torrentflux, and on first glance rtorrent doesn't seem to be compatible with tflux. maybe i'll look into it more if i have time, but my downloads all seem pretty fast as it is.

satimis 05-26-2006 10:03 AM

Hi gloomy,

Tke for your advice and URL.

I'm running "rtorrent.x86_64 0.4.5-1.fc5" on FC5_64.

I found the sample file on /usr/share/doc/rtorrent-0.4.5/rtorrent.rc.example

If after having the sample file edited save it on /home/user/.rtorrent.rc whether each time evoking;

$ /usr/bin/rtorrent
it will use the configure file .rtorrent.rc to run "rtorrent"

Tks

Quote:

I have .rtorrent.rc under /home/user. I have made also a directory /home/user/rtorrent which is is the session directory and /home/user/torrent where the complete torrents are saved. Whenever I want to download a torrent, I simply hit 'rtorrent' under /home/user/torrent, where I also always save the .torrent -files, and add new torrents by hitting first backspace, then tab, after which typing the torrent I want to download.
I can't find where rtorrent has been installed.

# find / -name rtorrent -type d
Code:

find: WARNING: Hard link count is wrong for /selinux: this may be a bug in your filesystem driver.  Automatically turning on find's -noleaf option.  Earlier results may have failed to include directories that should have been searched.
# rpm -qal rtorrent
Code:

/usr/bin/rtorrent
/usr/share/doc/rtorrent-0.4.5
/usr/share/doc/rtorrent-0.4.5/AUTHORS
/usr/share/doc/rtorrent-0.4.5/COPYING
/usr/share/doc/rtorrent-0.4.5/INSTALL
/usr/share/doc/rtorrent-0.4.5/README
/usr/share/doc/rtorrent-0.4.5/TODO
/usr/share/doc/rtorrent-0.4.5/rtorrent.rc.example


B.R.
satimis

properganda 02-19-2008 08:36 AM

Quote:

Originally Posted by gloomy (Post 2259295)
Rtorrent is great. There should be an 'interactive' command line menus for adding multiple torrents, stopping ones, resuming others, increasing upload throttles, adjusting minimal number of peers, etc. See 'man rtorrent'. I'm running rtorrent-0.4.3 and there is a .rtorrent.rc -file where one can configure all needed options.

Where is this .rtorrent.rc file? I did a locate for it but can't find it... do you have to create this file in the directory from which you are running it from?


All times are GMT -5. The time now is 05:32 PM.