<%@ Language=VBScript %> <% Response.Buffer = true '****************************************************************************** 'Copyright Dundas Software Ltd. 2000. All Rights Reserved. ' 'PURPOSE: The user can upload up to 3 files to the server. If the operation ' is successful the user will receive a success message, if the ' operation fails then a failure message will be displayed. ' 'POST DESTINATION: Process.asp ' 'COMMENTS: Note that a maximum size of one (1) MBytes per file is allowed. ' ' 'Dundas Software Contact Information: ' Email: sales@dundas.com ' Phone: (800) 463-1492 ' (416) 467-5100 ' Fax: (416) 422-4801 '****************************************************************************** %>


This simple demo allows the user to upload up to three (3) files to the server, with a maximum file size of one (1) MBytes per file.

How to access form data is demonstrated as is the saving of uploaded files to memory. Please note that a success or failure message will be displayed along with the user's name after the upload is processed.

<% 'if an upload operation just occurred output success/failure message to user if Request.QueryString("Message") <> "" then Response.Write "" & Request.QueryString("Message") & "

" end if %>

  UPLOAD INFORMATION
Please enter your name:
File to upload #1:
File to upload #2:
File to upload #3: