Index: branches/dev/html/test/uehara/ftp.php
===================================================================
--- branches/dev/html/test/uehara/ftp.php	(revision 14366)
+++ branches/dev/html/test/uehara/ftp.php	(revision 14366)
@@ -0,0 +1,37 @@
+<?php
+
+
+$TEST_DIR = realpath(dirname( __FILE__));
+require_once($TEST_DIR . "/../../../data/conf/core.php");
+require_once($TEST_DIR . "/../../../data/conf/conf.php");
+
+// FTP²èÁüÊÝÂ¸ÁêÂÐ¥Ñ¥¹
+define("FTP_IMAGE_SAVE_DIR", "./html" . URL_DIR . "upload/save_image/");
+// FTP²èÁü°ì»þÊÝÂ¸ÁêÂÐ¥Ñ¥¹
+define("FTP_IMAGE_TEMP_DIR", "./html" . URL_DIR . "upload/temp_image/");
+define ("IMAGE_TEMP_DIR", HTML_PATH . "upload/temp_image/");                // ²èÁü°ì»þÊÝÂ¸
+define ("IMAGE_SAVE_DIR", HTML_PATH . "upload/save_image/");                // ²èÁüÊÝÂ¸Àè
+
+
+ftpMoveTempFile(FTP_IMAGE_SAVE_DIR);
+
+//----------------------------------------------------------------------------
+
+// ¥Õ¥¡¥¤¥ë¤Î¹¹¿·¤òÂ¾¥µ¡¼¥Ð¤Ë¤âÈ¿±Ç¤¹¤ë¡£
+function ftpMoveTempFile($ftp_image_save_dir) {
+    global $arrWEB_SERVERS;
+    
+    $arrFiles = array();
+    $arrFiles[] = test.php;
+    
+    // Éé²ÙÊ¬»¶¤·¤Æ¤¤¤ëÁ´¤Æ¤Î¥µ¡¼¥Ð¤Ë¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼¤¹¤ë
+    foreach($arrFiles as $files) {
+        foreach($arrWEB_SERVERS as $array) {
+               $dst_path = $ftp_image_save_dir . $files;
+               $src_path = IMAGE_SAVE_DIR . $files;
+               sfFtpCopy($array['host'], $array['user'], $array['pass'], $dst_path, $src_path);            
+        }
+    }
+}
+
+?>
