view mod_migrate_http_upload/README.markdown @ 4469:6844733ad2f5

mod_migrate_http_upload: Fix autolink in README
author Kim Alvefur <>
date Wed, 24 Feb 2021 16:57:28 +0100
parents 5d8f9cc5c6fb
line wrap: on
line source

summary: mod_http_upload to mod_http_file_share migrator
- Stage-Alpha

This is a migration script for converting records of [mod_http_upload]
into the format used by the new [mod_http_file_share][doc:modules:mod_http_file_share]
which will be available with Prosody 0.12 (currently in trunk).

# Usage

If your main `VirtualHost` is called "" and your HTTP upload
`Component` is called "", then this command would
convert records of existing uploads via [mod_http_upload] to

sudo prosodyctl mod_migrate_http_upload

In order to preserve URLs you will need to configure the
[path][doc:http#path_configuration] to be the same as mod_http_upload:

Component "" "http_file_share"
http_paths = {
    file_share = "/upload"