FTP: create new text file & save fileContent

I remember seeing an old example that uses FTPClient:

but you can also do an FTP mount at the OS level, or call an FTP command line with exec() – there are a lot of options.

Other old discussions: