Request.Files (gb.web)
Returns a collection of all files uploaded in the request.
-
The keys of this collection are the file names as specified in the request.
-
The values of this collection are the path of the files saved on the server.
All files are uploaded to the temporary directory of the application.
So they are destroyed as soon as the application terminates.
Support for multiple files upload
Поскольку 3.19
Before Gambas 3.19, the Request object was unable to deal with multiple files upload. Only the last one of the uploaded files was available.
Now, if a multiple files upload occurs, the value returned by the collection is not a path anymore, but a string array of
each uploaded file path.
See also