wget & rapidshare

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting wget & rapidshare
# 1  
Old 02-08-2008
wget & rapidshare

Hello people,

I have a question concerning wget and rapidshare. How I can download from Rapidshare (have a premium account) using command-like tool wget. It seems pretty easy, but I always get only very small file (5KB) something like html. Please correct me if I am doing something in a wrong way:
1. I save a cookie by typing the following in Terminal
wget \
--save-cookies ~/.cookies/rapidshare \
--post-data "login=USERNAME&password=PASSWORD" \
-O - \
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi \
> /dev/null
2. I try to download by typing this:
wget -c --load-cookies ~/.cookies/rapidshare hxxp://www.rapidshare.com/files/blablabla.xyz
11:45:21 (273.06 KB/s) - `blablabla.xyz' saved [5224/5224] While original size of the file is let's say 95 MB Smilie

Seems like the main link is redirected further and I get just a shortcut? So, the question is how to obtain original file? Any ideas are highly appreciated.
Thanks for support!
# 2  
Old 02-08-2008
There is one more internal redirection at rapidshare, I think, which should prevent direct downloads, I guess you'll have to ask their technical staff whether this is true, and are you able to use "wget", whose syntax seems correct.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SFTP Shell Script Get & Delete && Upload & Delete

Hi All, Do you have any sample script, - auto get file from SFTP remote server and delete file in remove server after downloaded. - only download specify filename - auto upload file from local to SFTP remote server and delete local folder file after uploaded - only upload specify filename ... (3 Replies)
Discussion started by: weesiong
3 Replies

2. Shell Programming and Scripting

Wget - working in browser but cannot download from wget

Hi, I need to download a zip file from my the below US govt link. https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP I only have wget utility installed on the server. When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies

3. UNIX for Dummies Questions & Answers

wget and &

Hi, I'm trying to I'm trying to use wget to grab some data from the IRIS webservice. Basically its a web page that given the latitude and longitude for two points on the earth returns the distance and azimuth between them. Its usage is simple you just input an address as follows, ... (5 Replies)
Discussion started by: davcra
5 Replies

4. Shell Programming and Scripting

Help needed in Curl & Wget

We are trying to invoke a https service from our unix script using curl command. The service is not getting invoked because it is SSL configured. Bypassing certification (using curl –k) does not work. curl -k https://site curl -k -x IP:Port https://site curl -k -x IP:443 https://id:pwd@site ... (0 Replies)
Discussion started by: dineshbabu01
0 Replies

5. Shell Programming and Scripting

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP. I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies
Login or Register to Ask a Question