posted 15 years ago
Hi,
If i try to upload a file with file name contains japanese characters. I am getting the following exception.
org.apache.commons.net.io.CopyStreamException: IOException caught while copying.
at org.apache.commons.net.io.Util.copyStream(Util.java:129)
at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:385)
at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1379)
Please help me to resolve this issue. have used "commons-net-2.0" library for FTPClient.
called this method to upload the file.
ftp.storeFile(ServerFileName , FileInputStream)
Thanks in advance.