Here is a simple remote upload script that helps you to download unlimited sized files to your server from other servers,without the difficulty of downloading and uploading again and again.It wont work on all servers like rapidshare and megaupload ,but the key idea is,your server system wont hang due to its simplicity.
Rapidleech script also transfers files from Rapidshare, Megaupload, Depositfiles.com, Easy-share.com, etc, via your fast servers connection speed and dumps the file on your server.But,From my experience,this may make server stuck, if you transfer huge size files.
Here is the code
<?php
define('BUFSIZ', 4095);
$url = 'http://www.techtipsmaster.com/alexa-top-ranks.csv.zip';
$rfile = fopen($url, 'r');
$lfile = fopen(basename($url), 'w');
while(!feof($rfile))
fwrite($lfile, fread($rfile, BUFSIZ), BUFSIZ);
fclose($rfile);
fclose($lfile);
?>
USAGE
1.Change the $url value with the url of the file which you want to download..
2.Just put this script in the folder where you want to download the file to.
3.Change the permissions of t he folder to writable.
4.Now just access the script url via your web browser and wait for the page to load completely.Once fully loaded,the remote file should be on your server.
What if the file need username and password to download. Is it possible to add that option? Will be very helpful…
Thanks
Awesome Script……….
@nshop1
to upload a file who a password protected use the string
http://username:password@domain.tld
ex. from hotfile to your server
http://username:password@hotfile.com
(http://username:password@hotfile.com/dl/9288706/1074b48/Alien.Trespass.LIMITED.DVDRip.XviD-NeDiVx.part1.rar.html)
hope that helps
That works greatly! Thank you very much!
hi,thanks for this script,i didn’t try it ,
but how can i add multiple links at once ?
i hope you have a tip for it
just sue the “for” statement ,,,,,i guess -_-’
Thanx a loooooooooooooooot!!! U have saved my precious time!!!
PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/gamerokr/public_html/download/ezdwnld.php on line 7
I got this error while triyin to upload a 2gb file~!!!! Please help
that’s the max execution time configured in php.ini… for files larger than 1GB, 30 seg could be short time. (sorry for my bad english
exactly what i need!!
thanks a lot
regards
thankkkkk but how is multi file line pleasesss
at the beginning of your script, put this line of code
no need to modify the PHP.ini … ^_^ your script can run from day to day!
Where can I put script and how?
You can run that script from the folder,you wish to get uploaded in your server
Warning: fwrite() expects parameter 1 to be resource, boolean given in C:\wamp\www\php_sandbox\up.php on line 13
this warning alll over the page
hey there and thank you for your information – I’ve cirnaetly picked up something new from right here. I did however expertise some technical issues using this web site, as I experienced to reload the web site a lot of times previous to I could get it to load properly. I had been wondering if your web host is OK? Not that I am complaining, but sluggish loading instances times will sometimes affect your placement in google and can damage your high-quality score if advertising and marketing with Adwords. Anyway I’m adding this RSS to my e-mail and could look out for much more of your respective fascinating content. Ensure that you update this again soon..
i’m not expert and i want to know how can i convert this code in the script that i can upload?
what is your exact intention?..i will help you
my problem is this: i have a lot file on hotfile and i want to transfer all on my server so this script can help me? and how can i do exactly? how can i do step by step thanks a lot
thanks so my problem that i have a lot file on hotfile server and i want to trasnfer all to another server. i don’t have premium accuont so this script can help me? i try like you have said but it give me error? so can you explain me how can i do step for step? thanks a lot
can you point out the error you got…
my problem is this: i have a lot file on hotfile and i want to transfer all on my server so this script can help me? and how can i do exactly? how can i do step by step thanks a lot
I want to remoce 20 seconds limit in php.ini, is there a way to do that?
please reply asap!
@Russer
http://username:password@hotfile.com/dl/9288706/1074b48/Alien.Trespass.LIMITED.DVDRip.XviD-NeDiVx.part1.rar.html) is right.. BUT
when im using remote upload in Hotfile to Rapidshare like this..
it always says..
http://username:password@rapidshare.com/dl/9288706/1074b48/Alien.Trespass.LIMITED.DVDRip.XviD-NeDiVx.part1.rar:Content-Type is text/html
help please..
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/35/d298792101/htdocs/remote_upload/index.php on line 4
How to solve this problem? plz i need help
Don’t do this it steels your password for your site, now I’m locked out of my cpanel.
this scipt not work on byethost
only blank page can shown
file not transfered
can you help me,please?
sorry for my bad english
i from indonesia
what about the ’500 Internal Server Error’ ???
Another site to Upload Files on Multiple Hosts is http://www.multisiteupload.com .
You can upload files on 12 Hosts with only 1 click.
Works fine.
Please can anyone give me tips to upload multiple files?
Giving “500 Internal Server Error”
I have a 500 error in bluehost
BravooooOOOOooooOOOO
thanks very very much
greats
Rapidleech Script will be helpful
I tested this on my site, downloaded from my Rapidshare Premium account, using a link like http://user:pass@servernumber.rapidshare.com/234234234/file.rar, it worked perfectly.
Thanks a lot for the script.
i wana upload several files at once… how to do that??
greaaaaaaaaatttttttttttttttttttt……thanxxxxxxxxxxx alooooooooottttttttt
I like how on rez apps they ask when u graduated from school 2 find out when u were born.
Forbidden
You don’t have permission to access XXXX/remote.php on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Work. Tnx !
hi, the script works grat on hostgator i wana ask does this script has any security issues because im afraid to be banned
Thats what I always wanted. thank you very much !!!!!!!!!!!!!!
Woah! I’m truly enjoying this format:theme for the website. It is very simple, though great. A lot of times it can be difficult to obtain the middle ground between usability as well as appearance. We may state you’ve done an superb job. Additionally, the weblog starts extremely quick to me with Firefox. Outstanding Weblog
sry, but in mind that BUFSIZ works as a length of bytes, it doesn’t work! If i would like to write only 1000bytes of length, it ignores and writes file fully.
Thank you very much ..
Works like a charm, nice piece of PHP coding
Thanks! It works perfectly!
Awesome script! I want to shift my site from one host to another. I hope your great script will help me much.
Thanks a lot!
You just saved my life!!!
Thank you.
Works like a charm
Thanks a lot buddy
The script works buth with some bugs. The script upload file up to 1GB. When I try to upload files over 1GB it stop upload when it reaches 1GB. Any suggestion?
errors
Warning: fopen(alexa-top-ranks.csv.zip) [function.fopen]: failed to open stream: Permission denied in D:\Hosting\8591561\html\rite\script.php on line 5
Warning: fwrite(): supplied argument is not a valid stream resource in D:\Hosting\8591561\html\rite\script.php on line 7
got it working thanks had to change file permissons from the cpanel do not work when i tried to change the permission with filezilla thankyou