# Class: FileUpload

## vertx-web-js/file_upload~ FileUpload

#### new FileUpload()

Represents a file-upload from an HTTP multipart form submission.

Source:
  - vertx-web-js/file_upload.js, line 30

### Methods

#### charSet() → {string}

Source:
  - vertx-web-js/file_upload.js, line 119

##### Returns:

the charset of the upload

Type
  string

#### contentTransferEncoding() → {string}

Source:
  - vertx-web-js/file_upload.js, line 106

##### Returns:

the content transfer encoding of the upload - this describes how the upload was encoded in the form submission.

Type
  string

#### contentType() → {string}

Source:
  - vertx-web-js/file_upload.js, line 93

##### Returns:

the content type (MIME type) of the upload

Type
  string

#### fileName() → {string}

Source:
  - vertx-web-js/file_upload.js, line 67

##### Returns:

the file name of the upload as provided in the form submission

Type
  string

#### name() → {string}

Source:
  - vertx-web-js/file_upload.js, line 41

##### Returns:

the name of the upload as provided in the form submission

Type
  string

#### size() → {number}

Source:
  - vertx-web-js/file_upload.js, line 80

##### Returns:

the size of the upload, in bytes

Type
  number

#### uploadedFileName() → {string}

Source:
  - vertx-web-js/file_upload.js, line 54

##### Returns:

the actual temporary file name on the server where the file was uploaded to.

Type
  string