Skip to content

TUploadedFiles.IndexOfFile

Returns the index of an uploaded file by field name

Declaration

Source position: httpdefs.pp line 268

public 
function TUploadedFiles.IndexOfFile(const AName: string) : Integer;

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.