If you mean directly, this won’t work at all for the vast majority of user of the site as they won’t be able to use FTP from a browser. Chrome completely removed all support in April 2020, for example.
You can do it server side, but it seems pointless, why not just put data into the database via HTTP?