dcsimg

ASP Component Building Page 4


Download the authoritative guide: Data Center Guide: Optimizing Your Data Center Strategy

Download the authoritative guide: Cloud Computing: Using the Cloud for Competitive Advantage

Sometimes the easiest way to understand a process is to first look at the end result. With this component, if we look at the end result it may be easier to understand the steps in getting there.

The first page is a simple post form with   ENCTYPE="MULTIPART/FORM-DATA". The input type for a file is..file. Here is an example.


<HTML>
<HEAD>
<TITLE>UploadSend file </TITLE></HEAD>
<BODY>
<FORM ACTION="test2.asp"
METHOD="POST" ENCTYPE="multipart/form-data">
<input type = text name = "txt1">Field 1<br>
<INPUT TYPE=FILE NAME="file1"><br>
<input type = text name = "txt2">Field 2<br>
<input type = text name = "txt3">Field 3<br>

<INPUT TYPE="SUBMIT"></FORM>
</BODY></HTML>

This article was originally published on Apr 21, 1999
Page 4 of 4

Thanks for your registration, follow us on our social networks to keep up-to-date