172900064 FTP class 추가 및 설치시에 FTP정보를 입력/저장하는 루틴 추가. 디렉토리 생성시 safe_mode일 경우 ftp로 디렉토리를 만들도록 처리. 추가 테스트 필요

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4520 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-09-18 12:32:38 +00:00
parent 28163b1312
commit e581ffc40b
21 changed files with 955 additions and 51 deletions

View file

@ -5,3 +5,29 @@ function completeInstalled(ret_obj) {
alert(ret_obj["message"]);
location.href = "./index.php?module=admin";
}
/**
* @brief FTP 정보 입력
**/
function doInstallFTPInfo(fo_obj) {
var oFilter = new XmlJsFilter(fo_obj, "install", "procInstallFTP", completeInstallFTPInfo);
oFilter.addResponseItem("error");
oFilter.addResponseItem("message");
return oFilter.proc();
}
function completeInstallFTPInfo(ret_obj) {
location.href = current_url;
}
function doCheckFTPInfo() {
var fo_obj = xGetElementById("ftp_form");
var oFilter = new XmlJsFilter(fo_obj, "install", "procInstallCheckFTP", completeInstallCheckFtpInfo);
oFilter.addResponseItem("error");
oFilter.addResponseItem("message");
return oFilter.proc();
}
function completeInstallCheckFtpInfo(ret_obj) {
alert(ret_obj['message']);
}