웹프로그래밍/ASP Classic
ABCUpload 4 컴포넌트
공허공자
2014. 11. 1. 03:23
ABCUpload 마지막 무료 버젼
한글 깨지지 않게 하기 위해서는 폼 변수 끝에 (1) 를 붙여야 함!!!
Set Upload = Server.CreateObject("ABCUpload4.XForm")
Upload.Maxuploadsize = x * 1048576 '최대 파일 사이즈 지정
Upload.AbsolutePath = True '절대 경로로 접근
Upload.Overwrite = True '같은 파일 있을 때 덮어쓰기 가능으로 설정
Upload.CodePage = 65001 '949=한글
postTitleValue = Upload("title")(1)
Method | Description |
Read | Read in raw uploaded data from a file. |
Save | Save the raw uploaded data. |
SetUser | Impersonate a different user. |
Property | Default | Description |
Item | Yes | A set of fields referenced by name or number. |
Count | No | The number of field sets available. |
ID | No | The form unique ID. |
AbsolutePath | No | Whether to use absolute or virtual paths. |
Overwrite | No | Whether to overwrite existing files. |
MaxUploadSize | No | The maximum size of uploads to allow. |
User | No | The current identity being used by ABCUpload. |
Domain | No | The domain which the user belongs to. |
CodePage | No | The character set codepage to use. |
Multipart | No | Whether multipart data was submitted. |
Streams | No | Whether to use NTFS streams. |
Method | Description |
Save | Allows you to save the contents of a field. * 저장하는 메서드 |
Property | Default | Description |
Name | No | The name of the HTML field. |
Content | Yes | The content of the field as a string. |
Length | No | The size of the data held in the field. * 파일사이즈 |
FileExists | No | If a file was uploaded. * 업로드되었는지 |
FileName | No | The URL safe uploaded filename. |
FileType | No | The inferred file name extension of the file. |
MIMEType | No | The MIME type of the uploaded file. * 마임타입 |
MacBinary | No | If the file was encoded as MacBinary. |
SafeFileName | No | The Windows safe filename. |
RawFileName | No | The uploaded filename. * 파일이름 구하기 |
RawFileType | No | The file name extension of the file. |
RawFilePath | No | The uploaded filepath. |
Data | No | The data within the uploaded file. |
Resource | No | The resource data within the uploaded file. |
RawData | No | The raw uploaded file data. |
RawLength | No | The raw uploaded file length. |
ImageType | No | The type of image file uploaded.* 이미지파일종류 |
ImageWidth | No | The width of image file uploaded.* 이미지 넓이 |
ImageHeight | No | The height of image file uploaded.* 이미지 높이 |