The OpenD Programming Language

Cgi.filesArray

Represents user uploaded files.

When making a file upload form, be sure to follow the standard: set method="POST" and enctype="multipart/form-data" in your html <form> tag attributes. The key into this array is the name attribute on your input tag, just like with other post variables. See the comments on the UploadedFile struct for more information about the data inside, including important notes on max size and content location.

class Cgi
immutable(UploadedFile[][string]) filesArray;

Meta