Demonstrates the use of the request object's files collection to get information about files uploaded to the server.
Use a browser to view ShowFiles.srf and use the form linked to from that page to send a request that contains one or more files. The information about each file will be displayed in a table. The files will be accepted at the start of the request, saved in the temporary folder on the server, and deleted at the end of the request.
The request handler loops through the files in CHttpRequest::m_Files and displays the properties obtained from the IHttpFile interface. Finally the code calls CHttpRequest::DeleteFiles to ensure that any files sent to the server are deleted.
CHttpMap::GetNextValue | CHttpRequest::DeleteFiles | CHttpRequest::FileMap | CHttpRequest::GetUrlReferer | CHttpRequest::m_Files | CRequestHandlerT::FormFlags | IHttpFile | IHttpFile::GetContentType | IHttpFile::GetFileName | IHttpFile::GetFileSize | IHttpFile::GetFullFileName | IHttpFile::GetParamName | IHttpFile::GetTempFileName