TWebRequestFile = class(TAbstractWebRequestFile)
class PASCALIMPLEMENTATION TWebRequestFile : public Web::Httpapp::TAbstractWebRequestFile
TWebRequestFile describes the content of a file extracted from an HTTP request.
TWebRequestFile describes and provides access to an uploaded file from an HTTP request. The following properties support this access:
FileName, which gives the name of the uploaded file.
FieldName, which gives the name of the adapter field whose value is the uploaded file.
ContentType, which describes how the file data is encoded.
Stream, which is a stream object from which you can read the file content.
Each TWebRequestFile object describes a single uploaded file. A collection of all the uploaded files from the current request is available as the Files property of TWebRequest. In addition, adapter fields that work with uploaded files surface those files using a TUpdateFileList object or IActionFieldValues interface.