How to download files from Rapidshare

From SynologyWiki

Jump to: navigation, search

Contents

How to download files from Rapidshare (with your premium account)

Motivation

I recently bought a DS207.

I've been searching around the forums/wiki for any info on where to place the global wgetrc so I can add my RS credentials to allow DL station software (which actually uses wget for http/ftp downloads).

Tried to put it in /root/.wgetrc (user wget prefs) but didn't work for downloads queued by the DL station web or redirector s/w.

Then tried a lot of places (like /usr/syno/etc, /etc ...) no luck!

Then I applied a simple, yet effective, workaround:

moved the original wget to wg

  DS-207>mv  /usr/syno/bin/wget /usr/syno/bin/wg

created a shell script named wget in the same dir of the original wget with the following code:

  #!/bin/sh
  if echo $@ 2>/dev/null | egrep -e rapidshare.com > /dev/null
  then
     WGETRC=/usr/syno/etc/wgetrc
     export WGETRC
  fi
  /usr/syno/bin/wg $@

made the new `wget' an executable:

  DS-207>chmod 755  /usr/syno/bin/wget

created my `wgetrc' file in /usr/syno/etc/ with the following contents:

  http-user=my_rs_username
  http-passwd=my_rs_pass
  header=Cookie:user=my_rs_cookie_value

test

Add a rapidshare download to your Download Manager or Redirector and enjoy.

Firefox Plugin

An easy way to add User Information to Rapidshare links if you are using Firefox is the use of Synoload, the Firefox Plugin. See https://addons.mozilla.org/de/firefox/addon/11189 for details.

Personal tools