Returns the index of an uploaded file by field name
Source position: httpdefs.pp line 257
public function TUploadedFiles.IndexOfFile( |
const AName: string |
):Integer; |
AName |
|
Field name of the uploaded file to find |
Index of the file or -1 if not found
IndexOfFile searches for an uploaded file with the specified field name and returns its index. Returns -1 if no file with the given field name is found.