This example shows you how to limit the maximum allowed number of files to be uploaded. In the following example, you can only upload 3 files.
Server Trace: