proxy: implemented upload