Hi, Niklas,

Thank you for your help. The first problem now solved. The root cause is
that ListenerFactory().getServerAddress() return 0.0.0.0. Maybe I use this
method in wrong way.

For problem 2, Are there any classes or methods which I could use to set the
charset?

thanks a lot

Alex

2010/6/28 Niklas Gustavsson <[email protected]>

> 2010/6/27 Alex Xin <[email protected]>:
> > For the screenshot, please see it here:
> >
> > http://www.wifisharing.mobi/pic/ftp_error.png
>
> The server ask the client to open a passive connection to the IP
> 0.0.0.0 which will fail. Do you know why the server thinks this is a
> valid IP on your host? Also, you can try setting the external passive
> address to a valid IP on your host.
>
> > Also another problem that one of my users report:
> >
> > If the file name contains some special Chinese characters, it'll always
> fail
> > when working with Windows Explorer, but other clients like FlashFXP are
> OK.
> > For example, if we have a file named 中国近代史(美)徐中约.pdf, we'll get a server
> > error. The server will return 501 Invalid Character in command to client.
>
> FtpServer assumes that clients use UTF-8. It might be that the Windows
> client uses some other charset (like the one used on the client OS).
>
> /niklas
>

Reply via email to