Hi ,
I have following Simple Code to connect to an ftp server. I'm Using encoding as "UTF-16".
The connect() method is waiting infinitely and nothing happens.... no exception and also the program doesn't get terminated.
This is My Code:
ftpClient.setRemoteHost(Server);
ftpClient.setControlEncoding("UTF-16");
ftpClient.connect();
ftpClient.login(user,password);
ftpClient.setConnectMode(FTPConnectMode.PASV);
ftpClient.setType(FTPTransferType.BINARY);
ftpClient.quit();
Same works fine when I try to use encoding as "UTF-8". Anybody knows is there any other way to set "UTF-16"?
Thanks,
Yogi.