The #upload{}
element allows a user to upload one or more
files into a scratch directory.
The element fires events when the upload starts and when the upload completes, and passes back original filename, the name of the file on disk, and the node to which the file was uploaded.
View Module Source