FTP Error 550 The requested actions are not accepted. File not available, not found, not available
So, I think the identification is a little strange, I do not set the control encoding and use retrieveFile, just sending a regular string to java. Also this line:
ftpClient.retrieveFile(new String(remoteFileName.getBytes("ms932"),"ISO-8859-1"), fos);
does nothing because you are creating a new Java string from another string. Java strings are stored in memory in a different encoding, compatible with all encodings, if I'm not mistaken.
Also, the path you are using is incorrect, see:
String remoteFileName = "//ftpserver.zip";
Ftp will throw an error starting the path with /, try the following:
"ftpserver.zip"
or if you have a subdir, try the following:
"subdir/myfile.zip"
Greetings
source share