Jump to content
Sign in to follow this  
senf1980

Remote upload script

Recommended Posts

Hello i am looking for a good remote upload script i can run on my server, preferably free would be great. Does anybody have any suggestions?

Share this post


Link to post
Share on other sites

You want to buy a free script ? oO

Also any more details on the script would be good :)

Share this post


Link to post
Share on other sites

I guess it would be called a url script. the problem is i have crap internet with very bad speeds and sometime it would easier just to be able to use my server to upload the script directly to its self rater then me download the file and re-upload it through a ftp program.

 

so i would like a script i can run on my server for personal use that i can run in my web browser that i can just evter the urls and have it automatically upload to my server.

Share this post


Link to post
Share on other sites

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.filesonic.com/file/2729757481/CW.vinceserious3.part01.rar';

$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.

 

QUESTIONS & ANSWERS

 

Q:What if the file need username and password to download. Is it possible to add that option?

Ans= To upload a file who a password protected use the string

 

http://username: password@filesonic.com

 

For Example: 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)

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for your time ill give it a try and let you know how i make out..

[MERGETIME=1319624388][/MERGETIME]

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

I have the folder set to writable but i get the error, is it possible there is a script i can run and imput the urls from my browser?

Share this post


Link to post
Share on other sites

check to make sure the semi colon (; ) is at the end of each required statement...its required in this php script...

Share this post


Link to post
Share on other sites

i copied and pasted just as it was posted, it dosent matter anymore i just started using rapidleeech to do what i need. thanks for the help guys

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×