如何使用FTP4j双击笔记本电脑的JTree将文件传输到服务器谢谢
public void mouseClicked(MouseEvent e) {
String s = arbre.getLastSelectedPathComponent().toString();
File file = new File(s);
if(file.isFile()) {
System.out.println("c'est un fichier");
if(e.getClickCount()==2){
client.upload(file);
}
}https://stackoverflow.com/questions/22337193
复制相似问题