Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- ajax
- Injection
- readonly
- RTL88x2BU
- include
- AC1300
- 따라다니는 배너
- euc-kr
- SQL Injection
- synology
- DS718+
- submit
- jQuery
- Getrows
- javascript
- jquery 레이어
- 시놀로지
- FileSystemObject
- form
- replace
- utf-8
- println
- 커널
- ASP
- 크로스 컴파일
- 무선랜카드
- PHP GCM
- XMLHTTP
- disabled
- lsusb
Archives
- Today
- Total
아는 것이 좋은 것이다.
[ASP] 파일이동, 폴더이동, 파일삭제 본문
<% 'Response.write Server.Mappath("\") & "\aaa" Set fso = Server.CreateObject("Scripting.FileSystemObject") '폴더이동 fso.MoveFolder Server.Mappath("/") & "\aaa",Server.Mappath("/") & "\bbb" ' 절대경로 원본폴더명,절대경로 타겟폴더명 '파일이동 fso.MoveFile Server.Mappath("/") & "\aaa\img.jpg", Server.Mappath("/") & "\bbb\img.jpg" ' 절대경로포함 원본파일, 절대경로포함 파일이름 '폴더삭제 fso.DeleteFolder(Server.Mappath("/") & "\aaa") ' 절대경로 포함 삭제할 폴더명 %>
'ASP' 카테고리의 다른 글
[ASP] 다운로드 페이지 프로그램 (0) | 2014.04.30 |
---|---|
[ASP] 달력 생성 소스 (공휴일 추가가능) (0) | 2014.04.27 |
[ASP] 클래스로 xml 생성 (0) | 2014.04.24 |
[ASP] 중복 조회수 처리 (0) | 2014.04.24 |
[ASP] 해당루트에 파일 존재 여부 확인 (0) | 2014.04.24 |
Comments