Record audio and send to ftp

Hello,
I was having good app which works, and everything was working good until dropbox has choosen to change the rules...
This is it: Upload recorded audio on dropbox

"on September 30th, 2021, the Dropbox OAuth flow will no longer return new long-lived access tokens. It will instead return short-lived access tokens"

So now I have new idea to make app which record audio and then send it to my ftp server.
Is it possible to make it just like with dropbox app?
With this: https://puravidaapps.com/ftp.php

How to do that? Can someone make aia file?