Index: /branches/dev/data/class/SC_UploadFile.php
===================================================================
--- /branches/dev/data/class/SC_UploadFile.php	(revision 14434)
+++ /branches/dev/data/class/SC_UploadFile.php	(revision 14466)
@@ -27,5 +27,5 @@
     var $necessary;                 // É¬¿Ü¤Î¾ì¹ç:true
     var $image;                     // ²èÁü¤Î¾ì¹ç:true
-    
+
     // ¥Õ¥¡¥¤¥ë´ÉÍý¥¯¥é¥¹
     function SC_UploadFile($temp_dir, $save_dir, $ftp_temp_dir = "", $ftp_save_dir = "", $multi_web_server_mode = false) {
@@ -127,5 +127,10 @@
                 // °ì»þ¥Õ¥¡¥¤¥ë¤Î¾ì¹çºï½ü¤¹¤ë¡£
                 if($this->temp_file[$cnt] != "") {
-                    $objImage->deleteImage($this->temp_file[$cnt], $this->save_dir);
+                    // Éé²ÙÊ¬»¶»þ¤Ï¤¹¤Ù¤Æ¤Î¥µ¡¼¥Ð¤«¤éºï½ü
+                    if($this->multi_web_server_mode === true) {
+                        ftpDeleteFile($this->save_dir . $this->temp_file[$cnt]);
+                    } else {
+                        $objImage->deleteImage($this->temp_file[$cnt], $this->save_dir);
+                    }
                 }
                 $this->temp_file[$cnt] = "";
@@ -329,5 +334,5 @@
 
     /**         
-     * ¥Õ¥¡¥¤¥ë¤òÁ´¤Æ¤ÎWEB¥µ¡¼¥Ð¤Ø¥³¥Ô¡¼¤·¤Þ¤¹¡£
+     * ¥Õ¥¡¥¤¥ë¤òÁ´¤Æ¤ÎWEB¥µ¡¼¥Ð¤Ø¥³¥Ô¡¼
      *
      * @param string $dst_path ¥³¥Ô¡¼Àè¥Õ¥¡¥¤¥ë¥Ñ¥¹(ÁêÂÐ¥Ñ¥¹)
@@ -345,5 +350,21 @@
         @unlink($src_path);
     }
-    
+
+    /**         
+     * ¥Õ¥¡¥¤¥ë¤òÁ´¤Æ¤ÎWEB¥µ¡¼¥Ð¾å¤«¤éºï½ü
+     *
+     * @param string $dst_path ¥³¥Ô¡¼Àè¥Õ¥¡¥¤¥ë¥Ñ¥¹(ÁêÂÐ¥Ñ¥¹)
+     * @return void
+     */
+    function ftpDeleteFile($dst_path) {
+        global $arrWEB_SERVERS;
+
+        // Á´¤Æ¤Î¥µ¡¼¥Ð¤Ë¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼¤¹¤ë
+        foreach($arrWEB_SERVERS as $array) {
+            sfFtpDelete($array['host'], $array['user'], $array['pass'], $dst_path);
+        }
+    }
+
+
     /**
      * FTPÍÑ¥Õ¥¡¥¤¥ë°ì»þ³ÊÇ¼¥Ç¥£¥ì¥¯¥È¥êºîÀ®
