Simple Server Remote Upload Script
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.
[...] When I had the problem with the plugin installation, i searched hard for a remote upload script where I can directly upload a file in between servers rather than downloading and uploading back to my server. So I found this script from Techtipmaster. [...]
What if the file need username and password to download. Is it possible to add that option? Will be very helpful…
Thanks
@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
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
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’ ???
Please can anyone give me tips to upload multiple files?
Giving “500 Internal Server Error”
I have a 500 error in bluehost