def METHOD_NAME():
    api = flask.current_app.config["PYLOAD_API"]
    package = flask.request.form.get(
        "package", flask.request.form.get("source", flask.request.form.get("referer"))
    )
    dl_path = api.get_config_value("general", "storage_folder")
    dlc_path = os.path.join(
        dl_path, package.replace("/", "").replace("\\", "").replace(":", "") + ".dlc"
    )
    dlc = flask.request.form["crypted"].replace(" ", "+")
    with open(dlc_path, mode="wb") as fp:
        fp.write(dlc)
    pack_password = flask.request.form.get("passwords")
    try:
        pack = api.add_package(package, [dlc_path], Destination.COLLECTOR)
    except Exception as exc:
        return "failed " + str(exc) + "\r\n", 500
    else:
        if pack_password:
            api.set_package_data(pack, {"password": pack_password})
        return "success\r\n"