The HTTP File Upload plugin adds functionality to Openfire that allows compliant clients to exchange files.
Note: This plugin requires the HTTP bind option in Openfire to be enabled:
Server -> Server Settings -> HTTP Binding
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.
By default, the plugin will store all uploaded files in a temporary directory that is provided by the Operating System. This directory is configured to be deleted, after Openfire quits. Some Operating Systems are known to periodically purge these temporary directories, which is another potential source of data loss. This plugin can be configured to use any other directory for data storage, by providing the path for that directory in the property plugin.httpfileupload.fileRepo. Note that the directory is expected to exist (this plugin will not attempt to create it if it is missing). Be sure that the process owner of the Openfire process has enough permissions to read and write in that directory.
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.
To change the HTTP server protocol from the default value of "https" to "http" for example, the property plugin.httpfileupload.announcedWebProtocol can be set to new value.
To change the HTTP server hostname from the default value used by Openfire, the property plugin.httpfileupload.announcedWebHost can be set to new value.
To change the HTTP server port from the default value (7443) used by Openfire, the property plugin.httpfileupload.announcedWebPort can be set to new value.
To change the web context root as announced to clients from the default value (/httpfileupload) used by Openfire, the property plugin.httpfileupload.announcedWebContextRoot can be set to new value.
After installation, 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.
Icons made by Smashicons from www.flaticon.com is licensed by CC 3.0 BY