Index: temp/trunk/data/class/SC_UploadFile.php
===================================================================
--- temp/trunk/data/class/SC_UploadFile.php	(revision 5934)
+++ temp/trunk/data/class/SC_UploadFile.php	(revision 8732)
@@ -62,5 +62,5 @@
 		
 	// ¥¢¥Ã¥×¥í¡¼¥É¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤òÊÝÂ¸¤¹¤ë¡£
-	function makeTempFile($keyname) {
+	function makeTempFile($keyname, $rename = true) {
 		$objErr = new SC_CheckError();
 		$cnt = 0;
@@ -83,6 +83,10 @@
 						} else {
 							// °ì°Õ¤Ê¥Õ¥¡¥¤¥ëÌ¾¤òºîÀ®¤¹¤ë¡£
-							$uniqname = date("mdHi") . "_" . uniqid("").".";
-							$this->temp_file[$cnt] = ereg_replace("^.*\.",$uniqname, $_FILES[$keyname]['name']);
+							if($rename) {
+								$uniqname = date("mdHi") . "_" . uniqid("").".";
+								$this->temp_file[$cnt] = ereg_replace("^.*\.",$uniqname, $_FILES[$keyname]['name']);
+							} else {
+								$this->temp_file[$cnt] = $_FILES[$keyname]['name'];	
+							}
 							$result  = copy($_FILES[$keyname]['tmp_name'], $this->temp_dir. "/". $this->temp_file[$cnt]);
 							gfPrintLog($_FILES[$keyname]['name']." -> ".$this->temp_dir. "/". $this->temp_file[$cnt]);
