RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TContentParser.GetFiles Method

Returns a set of uploaded files that the parser extracts from the current Web request.

Pascal
function GetFiles: TAbstractWebRequestFiles; override;
C++
virtual __fastcall TAbstractWebRequestFiles GetFiles();

GetFiles returns a list of Web request file objects, each of which represents an uploaded file from the current Web request. Each Web request file object has properties to describe an uploaded file, including a stream object from which to read the content of the uploaded file. 

In TContentParser, GetFiles always returns an empty list. That is, TContentParser does not implement support for uploaded files in HTTP requests.

Note: The content parser owns the list it returns. The caller should not free this list.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!