aboutsummaryrefslogtreecommitdiffstats
path: root/files/pull.php
blob: 1cc82425845fa52413ab15a8ed3ea31a433a15e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
$token=$_GET['token'];

$file=sys_get_temp_dir().'/'.'remoteCloudFile'.$token;
if(file_exists($file) and is_readable($file) and is_writable($file)){
	readfile($file);
	unlink($file);
}else{
	header("HTTP/1.0 404 Not Found");
}
?>