| Electronic Components Datasheet Search |
|
AN2675 Datasheet(PDF) 17 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2675 Datasheet(HTML) 17 Page - STMicroelectronics |
|
17 / 24 page ![]() 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 |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |