웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
웹FTP 적용하기 - 꽁수
2006.05.02 22:29
우선 아래 문서를 참조하였습니다.
http://kin.naver.com/knowhow/entry.php?eid=f68TgIXAMCPs5AQ1xc0rTgefe9fxQJHe
적용소스입니다. 아래 ip부분과 id부분, 또 port 및 passive 적용여부를 자신의 환경에 맞게 수정하신뒤, html 파일로 저장하면 끝
파일접근시, 바로 ftp 창이 뜹니다.
<html>
<head>
<script language="javascript" type"text/javascript">
function ttwebftp_1() {
// FTP 계정 주소 (ex. ttcgi.com)
ip = "www.xxx.com"
// FTP 계정 아이디 (ex. masterttcgi)
id = "id"
url = "http://ttcgi.com/ttftp/ftp.php?" + "ip=" + ip + "&id=" + id + "&port=21&remote_dir=&passive=FALSE"
window.open(url, "TT_WEB_FTP", "width=474, height=580, toolbars=no");
opener = self; self.close();
}
ttwebftp_1();
</script>
</head>
</html>
* DeX™님에 의해서 게시물 이동되었습니다 (2006-05-04 09:07)
http://kin.naver.com/knowhow/entry.php?eid=f68TgIXAMCPs5AQ1xc0rTgefe9fxQJHe
적용소스입니다. 아래 ip부분과 id부분, 또 port 및 passive 적용여부를 자신의 환경에 맞게 수정하신뒤, html 파일로 저장하면 끝
파일접근시, 바로 ftp 창이 뜹니다.
<html>
<head>
<script language="javascript" type"text/javascript">
function ttwebftp_1() {
// FTP 계정 주소 (ex. ttcgi.com)
ip = "www.xxx.com"
// FTP 계정 아이디 (ex. masterttcgi)
id = "id"
url = "http://ttcgi.com/ttftp/ftp.php?" + "ip=" + ip + "&id=" + id + "&port=21&remote_dir=&passive=FALSE"
window.open(url, "TT_WEB_FTP", "width=474, height=580, toolbars=no");
opener = self; self.close();
}
ttwebftp_1();
</script>
</head>
</html>
* DeX™님에 의해서 게시물 이동되었습니다 (2006-05-04 09:07)
댓글 4
-
zzz
2006.05.02 23:32
-
로그인
2006.05.03 04:03
꼭 필요했는데..... 감사합니다.... -
팔경호
2006.05.03 15:55
매우매우 유익합니다. 메뉴를 잘못보았다는것이 뭔말쌈인지? -
김태영
2006.05.21 11:10
제로보드 유용한 팁 쪽 보단
자바스크립트쪽이 더 알맞는거같아서 zzz님이 그렇게 말씀하셨나보군요..
뭐 지금은 DeX™님이 게시물을 옮겨주셨네요 ^-^
메뉴를 잘못보셨읍니다.