Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TUploadedFiles.IndexOfFile

Returns the index of an uploaded file by field name

Declaration

Source position: httpdefs.pp line 257

public function TUploadedFiles.IndexOfFile(

  const AName: string

):Integer;

Arguments

AName

  

Field name of the uploaded file to find

Function result

Index of the file or -1 if not found

Description

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.


Documentation generated on: Jan 16 2026