Questions tagged [rapidshare]

RapidShare was a hosting service with a simplified interface.

Links:

36 questions
5
votes
3 answers

Defining a variable in a class and using it in functions

I am trying to learn PHP classes so I can begin coding more OOP projects. To help me learn I am building a class that uses the Rapidshare API. Here's my class:
Josh
  • 277
  • 2
  • 4
  • 7
4
votes
1 answer

php curl multiple cookies

I want to use "Rapidshare" api for my website, and I have the problem. My problem is that I have multiple rapidshare premium accounts.I have read the information that if i want to use rapidshare api I must create cookies, without it I can't…
Volter
  • 173
  • 2
  • 4
  • 12
4
votes
3 answers

Download file from premium rapidshare account with .NET

How can I log to premium rapidshare account from my source? I tryed this but it is not working: string authInfo = "name" + ":" + "pass"; authInfo = Convert.ToBase64String(Encoding.Default.GetBytes(authInfo)); client.Headers["Authorization"] = "Basic…
Simon
  • 73
  • 4
4
votes
5 answers

Rapidshare premium download (c#)

Is there a way to download a file using a rapidshare premium account with c# or java?
3
votes
3 answers

Best way to read rapidshare API response?

I've started working with the rapidshare.com API. I'm just wondering what is the best way to read the reply from and API call. To be honest I think the API is all over the place. Some replies are comma delimited which is fine. I'm having with…
jim
  • 8,670
  • 15
  • 78
  • 149
3
votes
1 answer

How do I translate this Perl upload script to C#?

I'm currently trying to port my Perl upload script to C#, but I'm not quite familiar with the language and can't get it working. I've tried it a long time but nothing seems to work. I appreciate any help. :) Perl version: #!/usr/bin/perl -w use…
3
votes
2 answers

How to use rapidshare api?

I am trying to use rapidshare apis but dont know exactly how to use it? http://api.rapidshare.com/cgi-bin/rsapi.cgi?subroutine=getaccountdetails_v1&type=prem&login=MY_USERNAME&password=MY_PASSWORD after using this i am getting error "ERROR:…
Shishant
  • 9,256
  • 15
  • 58
  • 79
1
vote
1 answer

cURL not following the Location: header

I'm trying to use Rapidshare's API to download a file. To do so, I need to request their download subroutine twice. Once to get the appropriate download server to use, and secondly to request the download again on the server that the first request…
Josh
  • 1,361
  • 5
  • 22
  • 33
1
vote
1 answer

Download rapidshare file using rapidshare api in php

I am trying to download a rapidshare file using its "download" subroutine as a free user. The following is the code that I use to get response from the subroutine. function rs_download($params) { $url =…
freedayum
  • 301
  • 2
  • 7
  • 17
1
vote
1 answer

Having trouble setting up API call using array of parameters

I am building a class to send API calls to Rapidshare and return the results of said call. Here's how I want the call to be done: $rs = new rs(); $params = array( 'sub' => 'listfiles_v1', 'type' => 'prem', 'login' => '10347455', …
Josh
  • 277
  • 2
  • 4
  • 7
1
vote
3 answers

Matching Rapidshare links with regex

I want to match a sequence of Rapidshare links on a webpage. The links look like: http://rapidshare.com/files/326251387/file_name.rar I wrote this code: if(preg_match_all('/http:\/\/\rapidshare\.com\/files\/.*?\/.*?/', $links[1], $links)) { …
Matt
  • 1,083
  • 2
  • 10
  • 15
1
vote
1 answer

Using Rapidshare API to check if a file is downloadable

I'm new with this API thing, so I don't know how to use it very well. I want to make an application on C or PHP or AppleScript to check if a file is downloadable. I just need to know how to send the request properly. I read the API docs but I still…
Thiago Peres
  • 824
  • 1
  • 11
  • 16
1
vote
0 answers

php curl remote upload to rapidshare

this is a simple function to upload files remotely via php to rapidshare, requires username and password and curl activated in your server. where is global, you can set the username and password anywhere outside the function function…
aleksander haugas
  • 93
  • 1
  • 2
  • 10
1
vote
4 answers

Upload script returning blank data

I have the Uploadify jQuery plugin set up on my site to manage file uploads. Within the onUploadSuccess event, I have this code: 'onUploadSuccess' : function(file, data, response) { console.log("Upload complete for file " + file.name + ". Script…
James Dawson
  • 5,309
  • 20
  • 72
  • 126
1
vote
1 answer

How to use RapidShare API to get Account Details?

When I try to use the RapidShare API to get account details, I get a long string like this: accountid=******* type=prem servertime=1247000294 addtime=********** validuntil=********* username=*****8 directstart=1 protectfiles=0 ... How can I get…
bilal
1
2 3