# Class: FileUpload

## vertx-web-js/file_upload~ FileUpload

#### new FileUpload()

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

  Source:
    - file_upload.js, line 30

### Methods

#### charSet() → {string}

  Source:
    - file_upload.js, line 126

  ##### Returns:

  - the charset of the upload
  - Type
      string

#### contentTransferEncoding() → {string}

  Source:
    - file_upload.js, line 112

  ##### Returns:

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

#### contentType() → {string}

  Source:
    - file_upload.js, line 98

  ##### Returns:

  - the content type (MIME type) of the upload
  - Type
      string

#### fileName() → {string}

  Source:
    - file_upload.js, line 70

  ##### Returns:

  - the file name of the upload as provided in the form submission
  - Type
      string

#### name() → {string}

  Source:
    - file_upload.js, line 42

  ##### Returns:

  - the name of the upload as provided in the form submission
  - Type
      string

#### size() → {number}

  Source:
    - file_upload.js, line 84

  ##### Returns:

  - the size of the upload, in bytes
  - Type
      number

#### uploadedFileName() → {string}

  Source:
    - file_upload.js, line 56

  ##### Returns:

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