Sign in Join
FPDoc Onlineexperiment

TUploadedFiles.IndexOfFile function

Member of TUploadedFilespublicIn unit HTTPDefs

Returns the index of an uploaded file by field name

Declaration

pascal
function 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.