sitelink1 https://blog.logrocket.com/how-to-build-...avascript/ 
sitelink2 https://github.com/Pankajtanwarbanna/van...ree/master 
sitelink3  
sitelink4  
extra_vars4  
extra_vars5  
extra_vars6  

- 첨부파일 : vanilla_script.7z

  > index.html : ui html

  > index.js : node js src

 

vanilla script 로 file stream 을 서버에 전송하는 방법에 대해 학습하는 문서이다.

XMLHttpRequest 를 사용하지 않고 fetch() 함수를 이용하는데 대용량 파일 전송에 적합한 코드로 보인다.

 

목차는 다음과 같다.

  1. Set up the Node.js server
  2. Set up the frontend
  3. Read the file content on the frontend
  4. Divide and stream the file in chunks to the backend
  5. Receive the chunks and store them on the server
  6. Upload multiple files

문서의 링크가 오랜시간 후에도 살아있다면 계속적인 학습에 도움이 되겠지만

10년후에는 이 문서를 살펴볼일이 없을테니 본문을 스크랩하지는 않고 걍 링크만 걸어둔다.

학습의 결과로 작성된 샘플 예제는 첨부하여 맨 위에 올려두었다.

 

 

 

번호 제목 글쓴이 날짜 조회 수
246 사용자 모듈 만들기 황제낙엽 2019.07.09 42203
245 User Agent 정보 모음 file 황제낙엽 2011.02.22 11555
244 페이지 스크롤 끝 확인 황제낙엽 2011.10.24 6952
243 User Agent Parser들 황제낙엽 2017.11.20 5744
242 숫자 여부와 자리수를 체크 하는 예제 황제낙엽 2009.01.12 5645
241 연속해서 스트림 받기 (flush data from servlet to jsp with ajax) 황제낙엽 2013.01.04 5209
240 ActiveX 설치 여부를 검사하는 스크립트 황제낙엽 2011.02.13 4596
239 [JavaScript Tutorials] Handling runtime errors in JavaScript using try/catch/finally (해석중) 황제낙엽 2009.04.08 3315
238 브라우저의 새로고침과 종료에 대한 이벤트 황제낙엽 2017.08.11 3211
237 오류:호출자(서버 응용 프로그램이 아닌 서버)가 사용될 수 없어서 사라졌습니다. file 황제낙엽 2012.03.14 2372
236 외부 라이브러리 (.js) 의 바람직하지 않은 동적 로딩 (eval함수 이용) 황제낙엽 2012.01.18 2290
235 object clone 황제낙엽 2011.07.08 2263
234 window.postMessage() 황제낙엽 2020.07.29 2017
233 window.postMessage 이해하기 file 황제낙엽 2017.10.16 1904
232 IE and Memory accumulation in Javascript (document.createElement()) file 황제낙엽 2011.11.24 1713
231 경과 시간 구하기 황제낙엽 2019.10.04 1593
230 javascirpt IME-Mode 설정하기 황제낙엽 2010.08.17 1588
229 부동소수점 (floating-point) file 황제낙엽 2018.03.26 1554
228 콜백지옥과 비동기제어 file 황제낙엽 2021.02.18 1455
227 중첩 함수, 함수 클로저 황제낙엽 2008.08.12 1375