Topic: com.enterprisedt.net.ftp.FTPClient类中文问题?谢谢

  Print this page

1.com.enterprisedt.net.ftp.FTPClient类中文问题?谢谢 Copy to clipboard
Posted by: robertb9527
Posted on: 2004-09-06 21:27

我在使用com.enterprisedt.net.ftp.FTPClient类做Ftp上传时,
遇到了问题,就是不能在ftp服务器上建立中文目录,是不是有
中文显示问题?建立英文目录正常。

本机:WindowxsXP
服务器:WindowxsXP+IIS

2.Re:com.enterprisedt.net.ftp.FTPClient类中文问题?谢谢 [Re: robertb9527] Copy to clipboard
Posted by: why
Posted on: 2004-09-06 22:04

本机和服务器都是中文版的吗?

3.Re:com.enterprisedt.net.ftp.FTPClient类中文问题?谢谢 [Re: robertb9527] Copy to clipboard
Posted by: robertb9527
Posted on: 2004-09-07 08:24

是呀,都是中文版,
我用它的mkdir()建立不了中文目录,
chdir()进入不了中文目录,

而pwd()可以返回中文目录名

其实本机就是服务器,
谢谢了,谢谢


这几天我看了几篇关于中文字符显示的文章,感觉没什么帮助,
都是在数据库接口或者Linux/Windows转换时用的,
如:
String s2 = new String(s1.getBytes(“ISO-8859-1”),“GBK”);

4.Re:com.enterprisedt.net.ftp.FTPClient类中文问题?谢谢 [Re: robertb9527] Copy to clipboard
Posted by: why
Posted on: 2004-09-08 12:54

I haven't developed software for Chinese so I don't think I could help on the matter.

Is com.enterprisedt.net.ftp.FTPClient open-source?

Can you use and have you tried other FTPClient, such as
http://www.javaworld.com/javaworld/jw-04-2003/jw-0404-ftp.html

If you want to relocate this post to OpenSource board, let me know.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923