Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用带有 Java 的 FTPClient 打印给定文件的这样的权限( drwxrwxr-x )
但我找不到办法
我通过向 FTP 发送命令尝试了很多方法
System.out.println(client.doCommandAsStrings("ls", "-l")[0]);
和
client.sendCommand("ls -l"); System.out.println(client.getReplyString());
有办法吗?