Page 1 of 3

Rapidleech

PostPosted: Tue Mar 03, 2015 7:30 pm
by raffio
Hi, I'm setting the Rapidleech script to download with premium, the script works correctly but I have a 100Mb connection and download the file download begins at 10Mb. and then down to 2 and 3 Mb. I think you have to configure anything in httpd.conf so you can work freely but not sure. Or some parameter of php.ini. Someone who understands php can guide me a little?

Once you have it working 100% without errors will put a tutorial on how to do the installation in httdocs for operation.

sorry for my English
regards

Re: Rapidleech

PostPosted: Tue Mar 03, 2015 9:18 pm
by Jocko
No raffio, no change should be required to use the php rapidleech script. You can see the default settings for apache and php with the menu "View PHP and Apache information". (You should be able to upload up to 1GB)

I assumed that you followed a tutorial like this https://www.raymond.cc/blog/transfer-or ... hp-script/.

Where did you create the folder? directly in /usr/htdocs?

Re: Rapidleech

PostPosted: Wed Mar 04, 2015 12:51 pm
by Jocko
Hi raffio,

I installed rapidleech and without changing any php or apache parameter, it runs nice !

I succeeded to download directly a 1,9 GB file !

So I am pretty sure that the issue is the location where you download the files.

Note: I think it will be a nice addon.

Re: Rapidleech

PostPosted: Wed Mar 04, 2015 5:11 pm
by Jocko
@raffio
I sent you a pm for testing rapidleech add-on

Re: Rapidleech

PostPosted: Wed Mar 04, 2015 7:22 pm
by raffio
Jocko wrote:@raffio
I sent you a pm for testing rapidleech add-on


Jocko Hi, thanks for the adon.
Tested and working properly with premium account.

I have modified my Rapidleech with which you can play divx files or streaming vlc player when it passeth have prepared you for you to take a look and try to add as template.

Currently downloading 100 mb download and 100 upload worked to the fullest. I found only two errors to be investigated because they are essential because most of the users downloads the compressed with rar and there is an error using unrar.

Deputy error:
Code: Select all
===plusrar version===
4.1
===php_uname===
Linux 3.14.2 #2 PREEMPT Sun Oct 26 20:29:13 CET 2014 armv5tel
===safe_mode===
off
===rar executable info===
unrar 3.80 for Linux with permissions 0777
===Return code===
2
===Error===
/share/1000/rapidleech/rar/unrar: line 1: syntax error: unexpected "("
===List output===
===Executed command===
'/share/1000/rapidleech/rar/unrar' v -v -c-  -x*.htaccess -x*.htpasswd -x*.php -x*.php3 -x*.php4 -x*.php5 -x*.phtml -x*.asp -x*.aspx -x*.cgi -- '/share/1000/rapidleech/files/JueHamSinsa1.m7p.rar'



The other mistake I detect is that the files over 2Gb stop the download and you can not continue it, this error is a priority because mkv usually very large files, I for one am doing testing configurations in php but I can not find a solution, deputy error:

Code: Select all
Conectado a: fra-7m15-stor03.uploaded.net en el puerto 80...
Archivo JueHamSinsa1.m7p.rar, Tamaño 2.82 GB...

   
   
2.00 GB    70.99%    6944.96 KB/s


No es posible crear un registro en el archivo JueHamSinsa1.m7p.rar

Volver a la página principal


when you are ready template will send him running for you to try.

thank you very much

regards

Re: Rapidleech

PostPosted: Wed Mar 04, 2015 7:55 pm
by Jocko
About unrar issue, you can try this:
As unrar command is already available with fvdw-sl, you may try to use it instead of the static unrar command.

So in Putty window, do
Code: Select all
mv /share/1000/rapidleech/rar/unrar /share/1000/rapidleech/rar/unrar.org
ln -s /usr/bin/unrar /share/1000/rapidleech/rar/unrar

Re: Rapidleech

PostPosted: Thu Mar 05, 2015 12:51 pm
by Jocko
I tested the static unrar provided by rapidleech and indeed it did not work with our platforms. (I also used some old unrar from depreciated rapidleech packages)

So I also tested if our unrar binary can be used : that works but it requires to edit the php class rar.php because our binary doesn't have the same output when you list a rar file content . With these change, I succeed to extract the files.

Need to clean my changes before posting the edited files (=> this evening)

About the 2GB limit, I already looked at this point a few years ago when we added the web-explorer feature but I did notyet successful to fix this issue. :scratch

Re: Rapidleech

PostPosted: Thu Mar 05, 2015 6:24 pm
by raffio
Jocko wrote:I tested the static unrar provided by rapidleech and indeed it did not work with our platforms. (I also used some old unrar from depreciated rapidleech packages)

So I also tested if our unrar binary can be used : that works but it requires to edit the php class rar.php because our binary doesn't have the same output when you list a rar file content . With these change, I succeed to extract the files.

Need to clean my changes before posting the edited files (=> this evening)

About the 2GB limit, I already looked at this point a few years ago when we added the web-explorer feature but I did notyet successful to fix this issue. :scratch



Jocko Thanks for your work, did not work the shortcut into the folder / rar, I am looking for information and testing and I can not continue the download and do not stand in 2Gb. I contacted forum Rapidleech to see if anyone knows a solution, this issue had already been tried in the old forum Rapidleech and I had had this same problem on a Vps with centos 6 and could fix it but can not remember how to do it and the old forum were removed every post.
if I download in torrentflux if you can download large files and that partitions and then stitches. pyLoad uses the same system and would be perfect but we have the problem of python.

Well I continue investigating.

Re: Rapidleech

PostPosted: Thu Mar 05, 2015 6:32 pm
by Jocko
attached an archive to fix the unrar issue.

I patched the unrar class to use directly our unrar binary instead of the binary located in the folder rar.
So you can keep this folder in its original state (no need to do a symlink).

To fix the issue unzip the archive and replace the file unrar.php in the folder /share/1000/rapidleech/classes/options.

About the other issue, I don't have new idea. Please to note that rapidleech doesn't use the php upload feature but directly an html request. So useless to try to change some parameters in php.ini.

Re: Rapidleech

PostPosted: Thu Mar 05, 2015 7:24 pm
by Jocko
raffio wrote:pyLoad uses the same system and would be perfect but we have the problem of python.
fvdw made some progress to add the missing modules. Soon we should be able to use pyload.

As pyload should use its osn web server, maybe there is not this 2GB limit issue.