-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem about creatig a chinese-named file like '测试服务员.txt' #17
Comments
Hi, @AveiShriety . Status 63 from https://tools.ietf.org/html/rfc1813 is NFS3ERR_NAMETOOLONG, so I believe this is a Windows name length issue. Have you tried creating this file on the Windows machine without using NFS? I suspect it will fail there, too. If that's the case, and there's no simple setting to allow longer names, you probably need a Chinese Windows expert to explain how to allow creation of this file on your server. |
I could create the chinese-named file with java IO code. So I don't know how to solve it. Sigh~~~ |
Sorry, I find another amazing thing that I could create a chinese-named file which filename is "一而一一一一一而一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一".
What's the problem? |
I'm not sure what the problem is, but these are all related to details of Windows NFS server behavior, possibly even to handling of Chinese characters in non-Chinese operating systems. Since the client works correctly for Linux, and has no way to determine the OS of the NFS server, I doubt that there's any way to change the client to fix these problems. Any configuration change will almost certainly have to be done on the NFS server side. |
@DavidASeibert Hi! Again to please YOU to help me. ^_^~
When I establish a nfs server in the Linux(Centos7.2) operating system, I could creating a chinese-named file like '测试服务员.txt' with the nfs-client-java code:
However, when I establish a nfs server in the Windows Server 2012 R2 operating system, the same nfs-client-java code throws an error. In order to see some reason, I write an logging code in the NfsResponseHandler.java:
System.out.println("getResponse().getState():" + getResponse().getState());
The logging prints and the stack traces:
And now, How to solve this problem?
The text was updated successfully, but these errors were encountered: