convertxtodvd_logo

ConvertXtoDVD

VSO ConvertXtoDVD is considered to be one of the best Video converters. It combines high speeds, high quality and many options for your personalized DVD menus.

ConvertXtoDVD guide
Free Download ConvertXtoDVD

Linux Books

Of course the Internet along with the help of Google is a great source of information. You can answer almost any question you have about Linux and find many tutorials, guides and help. However many people prefer reading this information on a printed book accesssible even when they are not online or don't have a computer in front of them. I've received many e-mails asking me to propose them a few good books regarding Linux commands, administration and for specific distributions such as Ubuntu, Fedora etc. So, I've search for a few good books. Here they are. Happy reading!

Linux Books

Ubuntu guides

Ubuntu is a free Operating System based on Debian GNU/Linux. It has been rated as the most popular Linux distribution amongst Linux users according to Distrowatch. As it happens every six months a new version of Ubuntu has been released. Ubuntu 10.04 Lucid Lynx is here! Below you can find some helpful tutorials for old and new users!

Ubuntu 10.04 Lucid Lynx Post Installation Guide
Ubuntu 9.10 Karmic Koala Post Installation Guide
Ubuntu 9.04 Jaunty Jackalope Post Installation Guide
How to install Ubuntu Linux on Windows using VirtualBox

Fedora 12 Installation Guide

Fedora 12, codenamed Constantine, is released! Just for the info, Fedora is an RPM based Linux Distribution, an Operating system in other words, developed by the community supported Fedora Project and sponsored by Red Hat. Fedora contains only free and Open Source software. Some of Fedora's 12 new features are Gnome 2.28, KDE 4.3, better web cam support!, and many others.

Fedora 12 Installation and Post-Installation Guide
Fedora 11 Installation and Post-Installation Guide
Fedora 11 Installation and Post-Installation Guide in Chinese

In this guide I will describe you some different ways to download files from RapidShare in Linux using your Premium Account. I believe it's rather boring everytime to have to visit your RapidShare page account when you click on a link in order to download a file. I will show you how to use either terminal programs or how to do it the GUI way. Of course you must have enabled the Direct Downloads option in your Premium Account options page. So let's move on!

  • Using wget

If you prefer the terminal way or in case you don't have X running you can use wget to download files from rapidshare. Rapidshare uses cookie for authentication. Therefore you must download and save the cookie which will allow you to login and download the files you want. The following step has to be done only one time. It will save the cookie in your current directory. Of course you can change it as you wish. Open a terminal and type:

wget \
    --save-cookies ~/.cookies/rapidshare \
    --post-data "login=USERNAME&password=PASSWORD" \
    --no-check-certificate \
    -O - \
    https://ssl.rapidshare.com/premzone.html \
    > /dev/null
--save-cookies defines the location the cookie will be stored
--post-data provides the login form with your account's data
--no-check-certificate don't validate the server's certificate
-O downloads the html page to get the cookie and then it deletes it by redirecting it to /dev/null

Of course you must replace USERNAME and PASSWORD with your account details.

**Note: If you are using a wget prior to 1.10.2 the --no-check-certificate option is not needed.

Now each time you want to download a file you just have to type:

wget -c --load-cookies ~/.cookies/rapidshare url
However this is incovenient if you have multiple files to download. In that case we will create a script to automate the job. Create a new text file and paste the following lines:

#!/bin/bash
for url in `cat $1`
do
 wget -c --load-cookies ~/.cookies/rapidshare $url
done

Save it as downloader.sh and exit. Next we must make it executable, so type:

chmod +x downloader.sh
Now copy all the links of the rapidshare files you want to download and paste them in a file named urls the one under the other.

To download them one by one type:
./downloader.sh urls
  • Using aria2c

Another program you can use from your terminal is aria2. It supports multiple files download and it also splits each file in multiple parts for faster downloading. Moreover you can resume the download any time you want just by typing the same command again. Install it from your distribution's Package Management System and run it like this:

aria2c --http-user=USERNAME --http-passwd=PASSWORD -i urls -j 2 -s 4
-i urls urls is a text file containing all the links of the the files you want to download one under the other
-j 2 number of simultanious downloads (default value is 5)
-s 4 number of connections for each file
  • For KDE users

First you must install kget, which is a download manager for KDE. Next if you are using Konqueror as your web browser just log in your rapidshare account and save the cookie when prompted. Now you can easilly download any rapidshare file with kget. It will automatically find your cookie and download it as a premium user.

If you are using Firefox as your web browser you need an addon called flashgot. Install it from here . Next open Konqueror and login your Premium Rapidshare account and select to save the cookie. Now when you want to download a single rapidshare fiile right click on it and select "FlashGot Link" or if you want to download multiple files select them all, right click on them and choose "FlashGot Selection". They will all be added in kget.


  • For GNOME users

Open a terminal and type:

wget \
    --save-cookies ~/.cookies/rapidshare \
    --post-data "login=USERNAME&password=PASSWORD" \
    --no-check-certificate \
    -O - \
    https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi \
    > /dev/null
Rapidshare cookie will be saved in ~/.cookies/rapidshare. Next install flashgot extension for Firefox from here . After that restart Firefox and go to Tools -> FlashGot -> More Options... and in the General tab select "Built in" as Download Manager and click the Add button.

rapid1.png

Finally set the Executable path, Command line arguments template and Show in context menu as in the screenshot below. Now each time you want to download a file just right click on it and choose FlashGot Selection.

rapid2.png

Add this page to your favorite Social Bookmarking websites

Trackback(0)

TrackBack URI for this entry

Comments (35)

Subscribe to this comment's feed
i dont have a premium account
and how we can download if we dont have a premium account? what will we do?
chephz , September 09, 2008
SlimRat
You can try my program for Rapidshare FREE users.
http://code.google.com/p/slimrat/
pre , September 23, 2008
...
hiya ive just started using linux and having some difficulties. i have done everything u explained here.im using gnome btw. all the settings are correct but when im tryin to save my cookies it says so such file or dir exists. i have checked my cookies and rapidshare is definetely there.so my question is how come that the terminal says it doesnt exist when i can see it clerly does? thank you 4 your help in advance.
larababa , January 08, 2009
...
sorry mistyped it .....so when im tryin 2 save my cookies it says it does NOT exist.
larababa , January 08, 2009
...
Hey larababa. Have you followed the "for gnome users" part of the guide or the first one with "wget"?

I didn't understand where you got the error. Do you have a directory named .cookies inside your home directory? It is hidden. In which directory did you check for the rapidshare cookie?
axel , January 09, 2009
...
@axel

i am also getting the same problems as larababa, using the "for gnome users" part of the guide.

checked my home directory and the .cookies directory does not exist.

at the end of the process i get this:

Cannot open cookies file `/root/.cookies/rapidshare': No such file or directory


any help would be great
tyepye , January 09, 2009
...
I see. There is one more command I should add to the guide.

mkdir ~/.cookies

Type this first and then the wget command. smilies/wink.gif
axel , January 09, 2009
...
here's another good tutorial to download files from rapidshare with in linux:
http://fedoracoreproject.blogspot.com/2009/03/linux-command-line-tool-to-download.html
fedoracore , March 25, 2009
download only HTML pages
Hi,
I used your script, but I've got only HTML pages (not files) from rapidshare (HTML pages with buttons to free or premium download)
Do you know how to download files ?

Thanks a lot.
venda , March 30, 2009
direct download
Sorry guys. All I had to do was enable Direct download in my RS account.
venda , March 30, 2009
...
Hi venda. Although I write this in the beginning of this tutorial I think I should put it in bold to make it more noticeable. smilies/smiley.gif
axel , March 30, 2009
Thanks
Hi,

I was excatly looking for this kind of trick, thank you!

GG
GG , April 09, 2009
...
It's nice to know it helped you GG. smilies/cheesy.gif
axel , April 10, 2009
...
how bout axel? can we use axel to download rapidshare file?
modo , April 22, 2009
...
I have not tried axel. I am pretty satisfied with kget at the moment. smilies/smiley.gif

As I understand from axel's site currently it doesn't officially support loading of cookies. A patch is submitted but it hasn't been added to the stable package. You can read more and apply the patch on your own here: axel firefox cookie support
axel , April 23, 2009
r434rf
wget --auth-no-challenge --user=USERNAME --password=PASSWORD -i rs.txt

make a rs.txt file in a dir and put the rs links in it then excecute this cmd
easier wget way , June 17, 2009
:)
Nice tutorial im having my NAS box thats running busy box download the files it seems to be much much faster than old style browser downloads
m11324996 , August 14, 2009
Thanks
@easier wget way:
Nice one!!
For some reason aria2c doesn't work on my Desktop anymore [only on my server] and wget with a cookie never worked.

That's a nice tip, withe --auth-no-challenge option, works a treat on my desktop!

Thanks again.
DaveQB , August 25, 2009
...
I was looking for an an easy to use download manager for rapidshare and the like and ran across this:
http://www.econowics.com/linux...tu-linux/

Being a linux noob..I'm running Mint 7..I found this easy to install and use..for paid and free account of many hosting sites...works great! smilies/smiley.gif
condor , August 29, 2009
...
Sorry the link didnt post above..program is called Tucan..You can download Tucan Manager from Getdeb.net

http://www.getdeb.net/app/Tucan
condor , August 29, 2009
...
Thank you for the info guys. I'll check tucan. However since I am using KDE4 I am pretty satisfied with kget. smilies/smiley.gif
axel , August 31, 2009
rapidshare script for free users
Hi, thanks for the script.
Here's a small linux/windows rapidshare download script which works for free users:
http://sniper11powers.blogspot...cript.html
Hope you like it too smilies/smiley.gif
John , October 01, 2009
...
Thanks for the script John. I'll check it as soon as possible. smilies/smiley.gif

For the time being I am pretty satisfied with Firefox, flashgot and kget!
axel , October 02, 2009
SORRY :D
how to download multiple files on Linux
Fisher , October 16, 2009
...
I guess you mean multiple files from Rapidshare, right? Read the paragraph about Firefox in KDE users. smilies/smiley.gif
axel , October 17, 2009
Linux Script to Download RapidShare Link's into TorrentFlux
Paste this in to a file.
don't forget to chmod 700 in order to execute


#!/bin/sh
#########################################
#Script Setings - Change as needed. #
#########################################
export tdir='/usr/local/torrentflux' #Directory where TorrentFlux downloads are stored.
export user='root' #TorrentFlux User account to download files to.
export rsuser='99999999' #RapidShare Username (you must be premium user)
export rspass='passowrd' #RapidShare Password
#########################################
# Do not change anything below here. #
#########################################

export dtime=$(date +"%m-%d-%y.%H.%M.%S")
export urls='urls.'$dtime
export sdir=$(pwd)
export udir=$sdir'/downloadurls'

function ConfirmOrExit() {
while true
do
echo -n "Please confirm (y or n) :"
read CONFIRM
case $CONFIRM in
y|Y|YES|yes|Yes) break ;;
n|N|no|NO|No)
echo Aborting - you entered $CONFIRM
exit
;;
*) echo Please enter only y or n
esac
done
echo You entered $CONFIRM. Continuing ...
}

function dname() {
while true
do
echo '----- Enter the name of the Directory for the new torrent. ------'
echo '----- Be sure to use the proper syntax for directories in Linux. ------'
read dirname

echo "###############################################"
echo "You Entered: $dirname"
echo "###############################################"
echo '----- Is this Correct (Y or N) ------'
read CONFIRM
case $CONFIRM in
n|N|no|NO|No) ;;
y|Y|YES|yes|Yes)
break
;;
exit) exit
;;
*) echo 'Please enter only "Yes" or "No"'
esac
done
}

function setcookie() {
echo '############################'
echo 'Setting RapidShare Cookie'
echo '############################'
echo '---------------------------'
mkdir -p ~/.cookies
wget
--save-cookies ~/.cookies/rapidshare
--post-data 'login='$rsuser'&password='$rspass
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi
< /dev/null

}

function downloadrs () {
for url in `cat $udir/$urls`
do
wget -c --load-cookies ~/.cookies/rapidshare $url
done
}

function setudir() {
echo '---------------------------'
echo "Setting up Directories"
echo '---------------------------'
mkdir -p $udir
echo '######################################################
#######'
echo "The current time stamp is "$dtime
echo "The working URL file will be "$udir'/'$urls
echo '######################################################
#######'
ConfirmOrExit
}

function addurls () {
echo " #######################################################
#####"
echo "## Next, you will need to paste the list of URL's into ##"
echo "## the VI editor. Consult VI documentation for info on ##"
echo "## how to use VI. Don't forget to Write/Quit when done. ##"
echo " #######################################################
#####"

ConfirmOrExit
vi $udir'/'$urls
}

setcookie

setudir

dname

addurls

clear
echo " #######################################################
##############"
echo "## Now we will Download the list of URL's into the TF Directory. ##"
echo " #######################################################
##############"

cd $tdir'/'$user
mkdir $dirname
chmod 777 $dirname
cd $dirname

downloadrs

chmod 777 *
ls -l -h

jcjoey , November 13, 2009
...
the Above script is for use with torrentflux...
jcjoey , November 13, 2009
...
Interesting script jcjoey! I haven't used torrentflux before but I believe your script is helpful. smilies/smiley.gif Thanks!
axel , November 16, 2009
...
Why u dont using jdownloader from http://jdownloader.org/download ? It is perfect for free an premium users for all host sites.
chami , December 04, 2009
...
When I wrote this guide I didn't know jdownloader. I've heard a lot of people using it. Nonetheless I am pretty happy with kget in my KDE. smilies/smiley.gif
axel , December 05, 2009
Tucan
The main reason I would use not to use Ubuntu in the past for all my premium rapidshare downloads, was I did not have enough knowledge of the software available. I have collected a few applications suitable for ubuntu and posted them on my blog. I hope this helps someone. http://ubuntudan.blogspot.com/...nager.html
Dan Collyer , April 24, 2010
...
Thank you for your comment Dan. That is a nice collection of rapidshare applications for Linux.
axel , April 24, 2010
Thank you for this
This article was perfect. It worked perfectly for me, and I'd been looking for something like this.
Scott , May 16, 2010
Small update
Small change from RS:
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi
changes to
https://ssl.rapidshare.com/premzone.html
chanhdat , August 15, 2010
...
Thanks for the heads up chanhdat, I've updated the guide.
axel , August 26, 2010

Write comment

smaller | bigger
security image
Write the displayed characters

busy

Login Form

Follow me on...

  • Digg: axelgr
  • Facebook Page: 379363054400
  • FeedBurner: my-guidesnet
  • Twitter: myguidesnet
  • External Link: http://feedburner.google.com/fb/a/mailverify?uri=my-guidesnet

Member Login