# HTTP File Upload Plugin Readme

## Overview

The HTTP File Upload plugin adds functionality to Openfire that allows compliant clients to exchange files.

## Installation

Copy httpfileupload.jar into the plugins directory of your Openfire installation. The plugin will then be automatically deployed. To upgrade to a new version, copy the new httpfileupload.jar file over the existing file.

## Configuration

To configure the maximum allowable file size to be uploaded by clients, the property `plugin.httpfileupload.maxFileSize` can be set to a value in bytes. If not set, a default value is used. To disable the file size limitation, set this property to a value of `-1`.

## Using the Plugin

After intallation, the functionality provided by the plugin is automatically available to clients. While exchanging files, the plugin by default stores the files that are being transferred in a temporary directory that is removed when Openfire is shut down. The content of this directory is purged when its total size is larger than the remaining disc space.

## Attribution

Icons made by Smashicons from www.flaticon.com is licensed by CC 3.0 BY