---
name: "Embperl::Form::Control::file"
section: "3pm"
platform: "linux"
package: "libembperl-perl"
version: "2.5.0-17"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/Embperl::Form::Control::file"
---

# Embperl::Form::Control::file(3pm)

A file upload input control inside an Embperl Form

## NAME

Embperl::Form::Control::file - A file upload input control inside an Embperl Form

## SYNOPSIS

```
  {
  type => 'file',
  text => 'blabla',
  name => 'foo',
  size => 10,
  }
```

## DESCRIPTION

Used to create a file upload control inside an Embperl Form. See Embperl::Form on how to specify parameters.

### PARAMETER

*type*

Needs to be 'file'

*name*

Specifies the name of the upload control

*text*

Will be used as label for the file upload input control

*size*

Gives the size in characters

*maxlength*

Gives the maximun length in characters

## Author

G. Richter (richter at embperl dot org)

## See Also

[**perl**(1)](/perl/1.md), Embperl, Embperl::Form
