I have to upload a file to an FTP server. The filename contains special letters, say äöü. On the FTP server, I need the filename to be UTF-8 encoded.
äöü
My cod
I have not tested it, but you can try this:
client.setControlEncoding("UTF-8");