Microsoft
70-515 · Question #160
You are implementing a Web page that allows users to upload files to a Web server. The page includes a form that has a Submit button. You want to restrict uploads so that only files smaller than 1…
The correct answer is C. Add an ASP.NET FileUpload control and configure it to run on the server. See the full explanation below for the reasoning.
Question
You are implementing a Web page that allows users to upload files to a Web server. The page includes a form that has a Submit button. You want to restrict uploads so that only files smaller than 1 MB can be uploaded. What should you do?
Options
- AAdd an HTML input type="file" control.
- BAdd an HTML input type="file" control.
- CAdd an ASP.NET FileUpload control and configure it to run on the server.
- DAdd an ASP.NET FileUpload control and configure it to run on the server.
How the community answered
(31 responses)- A3% (1)
- B19% (6)
- C71% (22)
- D6% (2)
Community Discussion
No community discussion yet for this question.