일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- properties
- 이클립스
- junit
- error
- curl
- php
- jquery
- Android
- CentOS
- larravel
- html
- Spring
- java
- 와일드카드
- ajax
- 리눅스
- NetBeans
- tomcat
- SeLinux
- JSON
- javascript
- 톰캣
- MySQL
- laravel
- 안드로이드
- File
- 정규식
- Linux
- DB
- input
- Today
- Total
목록File (4)
합쭈기 programming
Response::download 시 한글 파일명 에러 이전 된 파일명이 원본 그대로라 문제가 생겼다. vendor > symfony > http-foundation 에 ResponseHeaderBag 클래스의 makeDisposition 함수에서 문제가 생긴다. 아래의 ascii 파일 이름 검증하는 부분을 주석처리해서 해결. if (!preg_match('/^[\x20-\x7e]*$/', $filenameFallback)) { throw new \InvalidArgumentException('The filename fallback must only contain ASCII characters.');}
protected void requestFileUpload(final String urlString, final String fileName) { new Thread(new Runnable() { @Override public void run() { // TODO Auto-generated method stub String lineEnd = "\r\n"; String twoHyphens = "--"; String boundary = "*****"; try { FileInputStream mFileInputStream = new FileInputStream( fileName); URL connectUrl = new URL(urlString); Log.d("Test", "mFileInputStream is ..
//ie 때문에 $("#personFile").change(addPic); function addPic() { form = document.createElement("form"); form.name = "formFile"; form.action = "/"; form.method = "post"; form.enctype="multipart/form-data"; form.encoding="multipart/form-data"; var file = $(this); $(file).attr("name", "personFile"); temp = $(this).parent(); $(form).append($(file)); var frameName = 'unique' + (new Date().getTime()); //..
#fileWrap { width: 93px; height: 28px; background: url('../../images/btn/add_pic.gif') 0 0 no-repeat; border:none; overflow:hidden; } #fileWrap:hover { cursor: pointer; } #personFile{ margin-left:-145px; opacity:0.0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); }