전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN2675 데이터시트(PDF) 17 Page - STMicroelectronics

부품명 AN2675
상세설명  STR91xFA in-application programming
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2675 데이터시트(HTML) 17 Page - STMicroelectronics

Back Button AN2675 Datasheet HTML 13Page - STMicroelectronics AN2675 Datasheet HTML 14Page - STMicroelectronics AN2675 Datasheet HTML 15Page - STMicroelectronics AN2675 Datasheet HTML 16Page - STMicroelectronics AN2675 Datasheet HTML 17Page - STMicroelectronics AN2675 Datasheet HTML 18Page - STMicroelectronics AN2675 Datasheet HTML 19Page - STMicroelectronics AN2675 Datasheet HTML 20Page - STMicroelectronics AN2675 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 24 page
background image
AN2675
IAP using HTTP
17/24
The HTML code to include in the web page in order to request a file from a user is as fol-
lows:
<FORM action="_URL_" METHOD=POST ENCTYPE="multipart/form-data">
<h2>Select a file to upload : </h2>
<INPUT type=”file”
name=”userfile”><BR><BR>
<INPUT type=”submit” value="Send File" name=”button”>
</FORM>
That will give the form below:
Figure 12.
Upload File Form
Selecting the “Browse” button would cause the browser to enter into a file selection mode
appropriate for the platform.
When the user completes the form, and selects the SUBMIT element, the browser should
send the form data and the content of the selected files.
3.4
IAP method
With this method, the file upload user interface uses an HTML form.
The client, in this case a PC that contains the binary file of the new firmware, must connect
to the STR912 board, which include an embedded Web server, and ask for the directory
containing the file to be uploaded.
The client first asks for the home page that contains a file upload form by sending a GET
Request. Then it submits the file to upload.
The communication between the HTTP server, in this case the IAP application, and the
HTTP client, a PC, is shown in Figure 13.
NO



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com